I have a GKE cluster setup using ``` const eng...
# google-cloud
p
I have a GKE cluster setup using
Copy code
const engineVersion = gcp.container.getEngineVersions().then((v) => v.latestMasterVersion);
and then
Copy code
minMasterVersion: engineVersion,
        nodeVersion: engineVersion,
but the order of upgrading seems wrong as it starts to complain now about
Copy code
* googleapi: Error 400: Node version "1.19.8-gke.1600" must not have a greater minor version than master version "1.18.16-gke.502"., badRequest
119
How should I manage that?
b
I don't know why this is happening with a "default" node pool, but I think the best way to move forward is to remove the default node pool and use a NodePool(version=engineVersion) class instead.
b
or use Release Channel . We were doing versions in our code had a lot of hassle . Now using release channel we have
Regular
in Staging and
Stable
in production . Upgrade best practice