A little confused about this. Reading google docs say auto upgrade is enabled for masters and node pools. But I can only find how to disable auto upgrade on node pools.
How do I disable auto upgrade on masters too?
A little confused about this. Reading google docs say auto upgrade is enabled for masters and node pools. But I can only find how to disable auto upgrade on node pools.
How do I disable auto upgrade on masters too?
Google documentation states:
Note: Cluster control planes are always upgraded on a regular basis, regardless of whether your cluster is enrolled in a release channel or not.
So you can disable or enable auto-update for node pools but masters (control plane) has auto-updates always enabled.
Another quote from here:
Regardless of whether your cluster is enrolled in a release channel or not, cluster control planes are always upgraded on a regular basis.
The docs do a poor job of explaining this.
To disable auto-node upgrades you disable auto upgrades on the node pool. To disable auto master upgrades you set the release channel to not specified.
Using Terraform it's configured here:
The GKE team performs automatic upgrades of your cluster control plane on your behalf and this is managed by Google in order to ensure security patches and functionality. As per document you can manually initiate a control plane upgrade to a version newer than the default.
Also, you can disable node auto-upgrade for an existing node pool. Keep in mind if you do so, you have to make sure that the cluster's nodes run a version compatible the cluster's version.
gcloud container node-pools update node-pool-name --cluster cluster-name \
--zone compute-zone --no-enable-autoupgrade
Also, this article explains further how automatic and manual upgrades work on Google Kubernetes Engine (GKE) clusters.
There is no way to stop GKE Control Plane auto upgrade, but you can stop control plan auto-upgrade for some period by using gke maintenance exclusion window
Doc : https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions