Node Auto-Upgrades on Container Engine

Node Auto Upgrades help you keep the nodes in your cluster or node pool up to date with the latest release version of Kubernetes. Auto Upgrades employ the same update mechanism as manual node upgrades. See Upgrading a Container Cluster for more information about the upgrade process.

Node Pools with Auto Upgrades enabled are automatically scheduled for an upgrade when a new Kubernetes version becomes available.

Creating a cluster or node pool with Auto Upgrades

To create a cluster or node pool with Auto Upgrades enabled, specify the --enable-autoupgrade option when using the gcloud beta container cluster create or the gcloud beta container node-pools create command:

# Creating a cluster with Auto Upgrades
gcloud beta container clusters create CLUSTER --zone ZONE --enable-autoupgrade

# Creating a node pool with Auto Upgrades
gcloud beta container node-pools create NODEPOOL --cluster CLUSTER --zone ZONE --enable-autoupgrade

Enabling and Disabling Auto Upgrades for a node pool

To enable Auto Upgrades for a node pool, specify the --enable-autoupgrade option in the gcloud beta node-pools update command:

gcloud beta container node-pools update NODEPOOL --cluster CLUSTER --zone ZONE --enable-autoupgrade

To disable Auto Upgrades for a node pool, specify the --no-enable-autoupgrade option in the gcloud beta node-pools update command:

gcloud beta container node-pools update NODEPOOL --cluster CLUSTER --zone ZONE --no-enable-autoupgrade

Alpha Clusters

Auto Upgrades are not available for Alpha Clusters.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Container Engine