Skip to content
New issue

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

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

Already on GitHub? # to your account

Add ForceUpdateStrategy #58

Merged
merged 1 commit into from
Nov 4, 2020
Merged

Add ForceUpdateStrategy #58

merged 1 commit into from
Nov 4, 2020

Conversation

hex108
Copy link
Contributor

@hex108 hex108 commented Nov 2, 2020

Add maxUnavailbale for forced update strategy for pods have specified templates.

@@ -32,6 +32,9 @@ const (

// DefaultMaxUnavailable is the default value for .Spec.UpdateStrategy.MaxUnavailable
DefaultMaxUnavailable = 1

// DefaultMaxUnavailable is the default value for .Spec.UpdateStrategy.ForceUpdateStrategy.MaxUnavailable
DefaultMaxUnavailableForceUpdate = "100%"
Copy link
Contributor

Choose a reason for hiding this comment

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

上面的DefaultMaxUnavailabel是不是也改成DefaultMaxUnavailableRollingUpdate

@qianjun1993
Copy link
Contributor

LGTM

@hex108 hex108 merged commit 28c0cab into tkestack:master Nov 4, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants