-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: Update GKE version #51
Conversation
|
||
validation { | ||
condition = regex("^1.2[2-4].*", var.gke_version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been tested.
for a in "1.22.16-gke.2000" "1.23.14-gke.1800" "1.24.9-gke.1500" "1.21.14-gke.14600" "1.25" ; do echo "length(regexall(\"^1.2[2-4].*\", \"${a}\")) > 0" | terraform console; done
true
true
true
false
false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still seems wrong. You are limiting the versions to 1.24, 1.23, 1.24, means we would need to update it on version 1.25
Something like this would make more sense
^1.[0-9]*.[0-9]*-gke.[0-9]*$
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GKE valid versions in stable channel are:
- 1.24.9-gke.1500
- 1.23.14-gke.1800
- 1.22.16-gke.2000
- 1.21.14-gke.14600
- 1.21.14-gke.14100
But I'm fine to open to any other version if you believe this is what we want.
The upgrade process takes quite some time to upgrade the
Cluster:
Node Pool:
|
Wait do we need to set a min master version? Should terraform use the latest when we deploy the instance? |
The default version for the STABLE channel is not the latest, but the
|
This PR is intended to upgrade the Kubernetes cluster to a newer stable version since the current version is not supported anymore.
The current supported versions
It also adds the possibility of informing the Kubernetes version and a validation of the versions accepted.