1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Thu Dec 14 10:23:57 UTC 2023

This commit is contained in:
Automated 2023-12-14 10:23:58 +00:00
parent f36750d203
commit a990278fb3
205 changed files with 4929 additions and 1866 deletions

View file

@ -5,6 +5,7 @@ NAME
SYNOPSIS
gcloud container clusters update NAME
(--autoprovisioning-network-tags=[TAGS,...]
| --autoprovisioning-resource-manager-tags=[KEY=VALUE,...]
| --autoscaling-profile=AUTOSCALING_PROFILE | --clear-fleet-project
| --complete-credential-rotation | --complete-ip-rotation
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
@ -123,6 +124,39 @@ REQUIRED FLAGS
https://cloud.google.com/sdk/gcloud/reference/compute/firewall-rules/create
for examples.
--autoprovisioning-resource-manager-tags=[KEY=VALUE,...]
For an Autopilot cluster, the specified comma-separated resource
manager tags that has the GCP_FIREWALL purpose replace the existing
tags on all nodes in the cluster.
For a Standard cluster, the specified comma-separated resource
manager tags that has the GCE_FIREWALL purpose are applied to all
nodes in the new newly created auto-provisioned node pools. Existing
auto-provisioned node pools retain the tags that they had before the
update. To update tags on an existing auto-provisioned node pool, use
the node pool level flag '--resource-manager-tags'.
Examples:
$ gcloud container clusters update example-cluster \
--autoprovisioning-resource-manager-tags=tagKeys/\
1234=tagValues/2345
$ gcloud container clusters update example-cluster \
--autoprovisioning-resource-manager-tags=my-project/key1=value1
$ gcloud container clusters update example-cluster \
--autoprovisioning-resource-manager-tags=12345/key1=value1,\
23456/key2=value2
$ gcloud container clusters update example-cluster \
--autoprovisioning-resource-manager-tags=
All nodes in an Autopilot cluster or all newly created
auto-provisioned nodes in a Standard cluster, including nodes that
are resized or re-created, will have the specified tags on the
corresponding Instance object in the Compute Engine API. You can
reference these tags in network firewall policy rules. For
instructions, see
https://cloud.google.com/firewall/docs/use-tags-for-firewalls.
--autoscaling-profile=AUTOSCALING_PROFILE
Set autoscaling behaviour, choices are 'optimize-utilization' and
'balanced'. Default is 'balanced'.