Upgrading¶
General Upgrade Process¶
-
Read the release notes for the target version. Check for breaking changes, CRD schema changes, or required migrations.
-
Update CRDs first. CRD changes must be applied before upgrading the operator:
-
Verify the upgrade:
-
Check workloads: Verify ManagedWorkloads are reconciling correctly:
CRD Compatibility¶
Hybernate follows these CRD versioning rules:
- v1alpha1: Breaking changes may occur between minor versions. Always read release notes.
- Field additions are non-breaking (new optional fields with defaults).
- Field removals or type changes are breaking and will be called out in release notes.
Forecast Engine State¶
The forecast engine state is serialized in each ManagedWorkload's status. On upgrade:
- Compatible state versions are imported automatically
- Incompatible versions cause the engine to reset and re-learn from scratch (a warning event is emitted)
Rollback¶
If something goes wrong:
Paused workloads remain paused during rollback. The previous operator version resumes managing them.
Version History¶
Check the GitHub Releases page for the full changelog.