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

Enable Surge Upgrades (Beta) #394

Merged
merged 5 commits into from
Jan 23, 2020

Conversation

Dev25
Copy link
Contributor

@Dev25 Dev25 commented Jan 6, 2020

Enable Surge upgrades for all beta node-pools, using the current default values set by GKE.

imo it should be a best practice/enforced by this module, but i can also add a disable flag if we want the option to disable it?

GKE Doc
GKE API Doc

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

Thanks for the addition, and I agree this is probably a best practice. However, it is technically a backwards-incompatible breaking change, so there are two options:

  1. Introduce the flags, but default to off/disabled.
  2. Include this change in the next major breaking change.

@Dev25
Copy link
Contributor Author

Dev25 commented Jan 8, 2020

That's reasonable, i suggest we go for 2 rather then adding a flag now and then defaulting that to yes in a future breaking change anyway.

I assume we can get the for_each PR #257 merged soon and since that requires a state migration it would be a breaking change?

@morgante
Copy link
Contributor

morgante commented Jan 8, 2020

Yes, #257 would also be a breaking change.

@morgante
Copy link
Contributor

@Dev25 Could you resolve conflicts? I'm hoping to release a new version this week (with a few breaking changes).

@Dev25
Copy link
Contributor Author

Dev25 commented Jan 23, 2020

Awesome, done + updated the README node pool var section too @morgante

@morgante morgante merged commit e4abe78 into terraform-google-modules:master Jan 23, 2020
kri5 pushed a commit to kri5/terraform-google-kubernetes-engine that referenced this pull request Jan 27, 2020
…le (Beta) (terraform-google-modules#394)

BREAKING CHANGE: beta clusters now have surge upgrades turned on by default. This behavior can be tuned using the max_surge and max_unavailable inputs.
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
…le (Beta) (terraform-google-modules#394)

BREAKING CHANGE: beta clusters now have surge upgrades turned on by default. This behavior can be tuned using the max_surge and max_unavailable inputs.
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.

None yet

2 participants