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

gke-cluster-standard : Support upgrade_settings for node auto provisioner #1905

Merged

Conversation

noony
Copy link
Contributor

@noony noony commented Dec 7, 2023

This PR modifies gke-cluster-standard list of changes :

Support Upgrade settings for Node Auto Provisionner

We can now define a strategy for NAP nodes upgrade SURGE / BLUE_GREEN and related configurations for each modes.

google_container_cluster documentation here

Set max_surge by default to 1 & max_unavailable 0 when NAP enabled

Currently node auto provisionner default for max_surge surge & max_unavailable are 0. This result in an invalid configuration for default settings in nap config.
Screenshot 2023-12-07 at 01 18 30

When upgrade_settings is not defined we declare by default a max_surge 1 and max_unavailable 0 now.


Checklist

I applicable, I acknowledge that I have:

  • Read the contributing guide
  • Ran terraform fmt on all modified files
  • Regenerated the relevant README.md files using tools/tfdoc.py
  • Made sure all relevant tests pass

@noony noony force-pushed the gke-cluster-standard-upgrade-strat branch from 2915aa6 to fe82867 Compare December 7, 2023 01:01
@ludoo ludoo changed the title gke-cluster-standard : Support upgrade_settings for node auto provisionner gke-cluster-standard : Support upgrade_settings for node auto provisioner Dec 7, 2023
modules/gke-cluster-standard/variables.tf Show resolved Hide resolved
modules/gke-cluster-standard/main.tf Outdated Show resolved Hide resolved
@ludoo ludoo enabled auto-merge (squash) December 12, 2023 18:58
@ludoo ludoo merged commit 201ff28 into GoogleCloudPlatform:master Dec 12, 2023
9 checks passed
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