Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support percentages in rollout-max-unavailable annotation #153

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

pstibrany
Copy link
Member

This PR enhances rollout-max-unavailable annotation to support values specified as percentage of statefulset replicas. Eg. rollout-max-unavailable: 50%. Returned value is floor(replicas * percentage), but never less than 1.

Copy link

@duricanikolic duricanikolic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pstibrany pstibrany merged commit fdfe18c into main Jun 11, 2024
6 checks passed
@pstibrany pstibrany deleted the specify-percentage-in-rollout-max-unavailable branch June 11, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants