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

Make es-gateway use rolling update instead of recreate strategy #2632

Merged
merged 1 commit into from May 12, 2023

Conversation

asincu
Copy link
Contributor

@asincu asincu commented May 8, 2023

Description

Update es gateway deployment strategy to use RollingUpdateDeployment instead of Recreate. Will set maxSurge to 100% and maxUnavailable to 0. This will ensure that 2 new pods will be created when rolling out a new version and old ones will be destroyed once all the new ones are up an ready.

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@asincu asincu merged commit 146191f into tigera:master May 12, 2023
5 checks passed
@asincu asincu deleted the rolling_deployment_esgw branch May 12, 2023 00:49
asincu added a commit to asincu/operator that referenced this pull request May 12, 2023
asincu added a commit to asincu/operator that referenced this pull request May 12, 2023
caseydavenport added a commit that referenced this pull request May 12, 2023
[cherry-pick] Make es-gateway use rolling update instead of recreate strategy (#2632)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants