gcloud_container_node-pools_update (1)
NAME
- gcloud container node-pools update - updates a node pool in a running cluster
SYNOPSIS
-
gcloud container node-pools update NAME (--enable-autorepair --enable-autoupgrade) [--cluster=CLUSTER] [--region=REGION | --zone=ZONE, -z ZONE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud container node-pools update updates a node pool in a Google
POSITIONAL ARGUMENTS
-
- NAME
-
The name of the node pool.
REQUIRED FLAGS
-
-
Node management At least one of these must be specified:
-
- --enable-autorepair
-
Enable node autorepair feature for a node-pool.
-
$ gcloud container node-pools update node-pool-1 \
--cluster=example-cluster --enable-autorepair
See cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair for more info.
-
$ gcloud container node-pools update node-pool-1 \
- --enable-autoupgrade
-
Sets autoupgrade feature for a node-pool.
-
$ gcloud container node-pools update node-pool-1 \
--cluster=example-cluster --enable-autoupgrade
See cloud.google.com/kubernetes-engine/docs/node-management for more info.
-
$ gcloud container node-pools update node-pool-1 \
-
-
Node management At least one of these must be specified:
OPTIONAL FLAGS
-
- --cluster=CLUSTER
-
The name of the cluster. Overrides the default container/cluster property
value for this command invocation.
-
At most one of these may be specified:
-
- --region=REGION
-
Compute region (e.g. us-central1) for the cluster.
- --zone=ZONE, -z ZONE
-
Compute zone (e.g. us-central1-a) for the cluster. Overrides the default
compute/zone property value for this command invocation.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To turn on node auto repair in "node-pool-1" in the cluster "sample-cluster", run:
-
$ gcloud container node-pools update node-pool-1 \
--cluster=example-cluster --enable-autoupgrade
NOTES
These variants are also available:
- $ gcloud alpha container node-pools update $ gcloud beta container node-pools update