-
Notifications
You must be signed in to change notification settings - Fork 823
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
Nodepool upgrades on GKE Terraform apply #3612
Conversation
Per the docs: "...node pools defined inside a cluster can't be changed (or added/removed) after cluster creation without deleting and recreating the entire cluster." Which is not great - since you can end up with out-of-sync K8s versions between the control plane and nodes, an inability to change nodepool sizes and just a general lack of flexibility. Moving the node pool definitions out of the cluster definition solves this issue! Closes googleforgames#3339
Build Succeeded 👏 Build Id: d0f59444-e536-49fd-ac88-1762c6b2d450 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
I dropped a I don't expect it to be an issue since the older version wouldn't let you update nodes anyway, but better to be sure. |
Build Failed 😱 Build Id: 00988c80-ec80-44d5-92d3-68ef938e7131 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: c7006833-e48f-4c0c-bb22-9707f114e436 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
What type of PR is this?
/kind bug
What this PR does / Why we need it:
Per the docs:
"...node pools defined inside a cluster can't be changed (or added/removed) after cluster creation without deleting and recreating the entire cluster."
Which is not great - since you can end up with out-of-sync K8s versions between the control plane and nodes, an inability to change nodepool sizes and just a general lack of flexibility.
Moving the node pool definitions out of the cluster definition solves this issue!
Which issue(s) this PR fixes:
Closes #3339
Special notes for your reviewer:
This is the same terraform we use for our dev clusters on GKE.