v1.2.0-rc.1
yunussandikci
released this
11 Aug 20:54
·
21 commits
to main
since this release
Overview
This release introduces significant improvements to the ScheduledResource CRD, including schema changes, additional status information, and enhanced observability through new printer columns. These updates are designed to provide more robust scheduling features and better resource management.
🚀 New Features
- ScheduledResource v1alpha2:
- Recurring Creations:
- Supports recurring resource creation with crontab values in the
schedule
field which is replaced within
- Supports recurring resource creation with crontab values in the
- Better Observability:
lastRun
in thestatus
to track the last creation time.nextRun
in thestatus
to indicate the upcoming scheduled creation.
- Recurring Creations:
⚠️ Breaking Changes
ScheduledResource v1alpha1
support has been dropped. Users must migrate their resources to update their ScheduledResource to v1alpha2
.
⚙️ Upgrade Guide
To upgrade ScheduledResource from v1alpha1
to v1alpha2
, follow these steps:
- Backup Existing Resources:
kubectl get scheduledresources.cloud.namecheap.com -o yaml > scheduledresources-backup.yaml
- Delete the Existing CRD:
kubectl delete crd scheduledresources.cloud.namecheap.com
- Install the New CRD or Install the latest Helm Chart:
kubectl apply -f deploy/crds/cloud.namecheap.com_scheduledresources.yaml
- Update Fields in Backup:
Replace thein
field withschedule
and change version tov1alpha2
from backup
sed -i 's/in:/schedule:/g; s/v1alpha1/v1alpha2/g' scheduledresources-backup.yaml
- Re-apply the Updated Backup:
kubectl apply -f scheduledresources-backup.yaml
- Install New Version:
helm upgrade --reuse-values mayfly nccloud/mayfly