问题
I'm trying to add a new node pool into an existing GKE cluster. Failing with the below error.
Node pool version cannot be set to 1.14.6-gke.1 when releaseChannel REGULAR is set.
Any advice on how i can get around this?
EDIT: I finally managed to create a new pool but only after my master was auto-updated. looks like for auto-updated clusters this is a limitation. the new node being created seems to default to the version of the master and if the master is on a deprecated version and is pending auto upgrade, all one can do it wait.
回答1:
That version was removed from GKE yesterday: https://cloud.google.com/kubernetes-engine/docs/release-notes#version_updates
The following versions are no longer available for new clusters or upgrades.
1.13.7-gke.24
1.13.9-gke.3
1.13.9-gke.11
1.13.10-gke.0
1.13.10-gke.7
1.14.6-gke.1
1.14.6-gke.2
1.14.6-gke.13
回答2:
It seems you have enrolled the cluster in a REGULAR release channel and you can not currently disable[1] the release channel to do manual upgrades. You need to wait for the auto upgrade as described in the release notes[2].
To stop using release channels and go back to specifying an exact version, you must recreate the cluster without the --release-channel flag.
[1]-https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels#changing_and_disabling_release_channels
[2]-https://cloud.google.com/kubernetes-engine/docs/release-notes-regular#october_30_2019
回答3:
When you're using a release channel the web cloud console does not let you select a version when creating a node pool, but the API/CLI does.
I'm in the same situation as you: the release channel version that my master is on was revoked, but I was able to add a new node pool with a previous version set in terraform.
来源:https://stackoverflow.com/questions/58654953/adding-a-new-kubernetes-node-pool-to-existing-cluster-with-regular-channel-as-re