Skip to content

make upgrade settings configurable#3359

Merged
ighosh98 merged 3 commits into
GoogleCloudPlatform:developfrom
ighosh98:upgrade-settings
Dec 10, 2024
Merged

make upgrade settings configurable#3359
ighosh98 merged 3 commits into
GoogleCloudPlatform:developfrom
ighosh98:upgrade-settings

Conversation

@ighosh98

@ighosh98 ighosh98 commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Submission Checklist

Resolves issue #3343

This PR adds limited support for surge strategy. We would re-evaluate if blue green support as specified by terraform is needed in a future PR

In case, customers enter invalid configurations, we would throw an error before cluster provisioning starts by leveraging the preconditions.

Why coalesce over try?

try does not treat undefined variables as an error state as it catches for errors in the evaluation process. Coalesce is a better fit for our use case

Testing Proof:

Successfully provisioned a cluster with default parameters.

Screenshot 2024-12-07 at 12 06 35 AM

@ighosh98 ighosh98 added the release-module-improvements Added to release notes under the "Module Improvements" heading. label Dec 6, 2024
Comment thread modules/compute/gke-node-pool/variables.tf Outdated
Comment thread modules/compute/gke-node-pool/main.tf
Comment thread modules/compute/gke-node-pool/main.tf
@ighosh98 ighosh98 merged commit e1b48a6 into GoogleCloudPlatform:develop Dec 10, 2024
@ighosh98 ighosh98 deleted the upgrade-settings branch December 10, 2024 12:15
@ighosh98

ighosh98 commented Dec 10, 2024

Copy link
Copy Markdown
Contributor Author

Closing #3343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-module-improvements Added to release notes under the "Module Improvements" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants