Release v0.17.0 #341
gianlucam76
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚀 Features:
Rolling Update Strategy for ClusterProfile
A ClusterProfile might match more than one cluster. When adding or modifying a ClusterProfile, it is helpful to:
This pull request introduces two new ClusterProfile Spec fields:
MaxUpdate
: Indicates the maximum number of clusters that can be updated concurrently.Value can be an absolute number (e.g., 5) or a percentage of desired pods (e.g., 10%). Defaults to 100%.
changes, only 30% of matching clusters will be updated in parallel. Only when updates in those clusters
succeed will other matching clusters be updated.
ValidateHealths
: A slice of health validation expressed using the Lua language.health (number of active replicas) before declaring the Helm chart deployment successful.
Benefits of a Rolling Update Strategy
A rolling update strategy allows you to update your clusters gradually, minimizing downtime and risk.
By updating a few clusters at a time, you can identify and resolve any issues before rolling out the
update to all of your clusters. Additionally, you can use the ValidateHealths field to ensure that
your clusters are healthy before declaring the update successful.
How to Use the Rolling Update Strategy
To use the rolling update strategy, simply set the MaxUpdate field in your ClusterProfile Spec to
the desired number of clusters to update concurrently.
You can also use the ValidateHealths field to specify any health validation checks that you want to perform.
For example, the following ClusterProfile Spec would update a maximum of 30% of matching clusters concurrently
and would check that the number of active replicas is greater than zero before declaring the update successful:
🐛 Bug Fixed:
Leftover ClusterConfigurations and ClusterSummaries after CAPI cluster deletion (more details #325)
Beta Was this translation helpful? Give feedback.
All reactions