mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Jul 13 09:59:37 UTC 2022
This commit is contained in:
parent
cf5ab60e4a
commit
879929cbc6
323 changed files with 7203 additions and 4178 deletions
|
|
@ -17,18 +17,18 @@ SYNOPSIS
|
|||
[--default-max-pods-per-node=DEFAULT_MAX_PODS_PER_NODE]
|
||||
[--disable-default-snat] [--disk-size=DISK_SIZE]
|
||||
[--disk-type=DISK_TYPE] [--enable-autorepair] [--no-enable-autoupgrade]
|
||||
[--enable-binauthz] [--enable-cloud-logging]
|
||||
[--enable-cloud-monitoring] [--enable-cloud-run-alpha]
|
||||
[--enable-confidential-nodes] [--enable-dataplane-v2] [--enable-gvnic]
|
||||
[--enable-identity-service] [--enable-image-streaming]
|
||||
[--enable-intra-node-visibility] [--enable-ip-alias]
|
||||
[--enable-kubernetes-alpha] [--enable-l4-ilb-subsetting]
|
||||
[--enable-legacy-authorization] [--enable-master-global-access]
|
||||
[--enable-network-policy] [--enable-service-externalips]
|
||||
[--enable-shielded-nodes] [--enable-stackdriver-kubernetes]
|
||||
[--enable-vertical-pod-autoscaling] [--image-type=IMAGE_TYPE]
|
||||
[--issue-client-certificate] [--labels=[KEY=VALUE,...]]
|
||||
[--local-ssd-count=LOCAL_SSD_COUNT] [--logging=[COMPONENT,...]]
|
||||
[--enable-cloud-logging] [--enable-cloud-monitoring]
|
||||
[--enable-cloud-run-alpha] [--enable-confidential-nodes]
|
||||
[--enable-dataplane-v2] [--enable-gvnic] [--enable-identity-service]
|
||||
[--enable-image-streaming] [--enable-intra-node-visibility]
|
||||
[--enable-ip-alias] [--enable-kubernetes-alpha]
|
||||
[--enable-l4-ilb-subsetting] [--enable-legacy-authorization]
|
||||
[--enable-master-global-access] [--enable-network-policy]
|
||||
[--enable-service-externalips] [--enable-shielded-nodes]
|
||||
[--enable-stackdriver-kubernetes] [--enable-vertical-pod-autoscaling]
|
||||
[--image-type=IMAGE_TYPE] [--issue-client-certificate]
|
||||
[--labels=[KEY=VALUE,...]] [--local-ssd-count=LOCAL_SSD_COUNT]
|
||||
[--logging=[COMPONENT,...]]
|
||||
[--machine-type=MACHINE_TYPE, -m MACHINE_TYPE]
|
||||
[--max-nodes-per-pool=MAX_NODES_PER_POOL]
|
||||
[--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
|
|
@ -51,6 +51,8 @@ SYNOPSIS
|
|||
[--system-config-from-file=SYSTEM_CONFIG_FROM_FILE]
|
||||
[--tags=TAG,[TAG,...]] [--threads-per-core=THREADS_PER_CORE]
|
||||
[--workload-metadata=WORKLOAD_METADATA] [--workload-pool=WORKLOAD_POOL]
|
||||
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
| --enable-binauthz]
|
||||
[--cluster-dns=CLUSTER_DNS --cluster-dns-domain=CLUSTER_DNS_DOMAIN
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE]
|
||||
[[--enable-autoprovisioning
|
||||
|
|
@ -71,7 +73,9 @@ SYNOPSIS
|
|||
--enable-autoprovisioning-autoupgrade
|
||||
[--max-accelerator=[type=TYPE,count=COUNT,...]
|
||||
: --min-accelerator=[type=TYPE,count=COUNT,...]]]]]
|
||||
[--enable-autoscaling --max-nodes=MAX_NODES --min-nodes=MIN_NODES]
|
||||
[--enable-autoscaling --location-policy=LOCATION_POLICY
|
||||
--max-nodes=MAX_NODES --min-nodes=MIN_NODES
|
||||
--total-max-nodes=TOTAL_MAX_NODES --total-min-nodes=TOTAL_MIN_NODES]
|
||||
[--enable-master-authorized-networks
|
||||
--master-authorized-networks=NETWORK,[NETWORK,...]]
|
||||
[--enable-network-egress-metering
|
||||
|
|
@ -336,9 +340,6 @@ FLAGS
|
|||
|
||||
Enabled by default, use --no-enable-autoupgrade to disable.
|
||||
|
||||
--enable-binauthz
|
||||
Enable Binary Authorization for this cluster.
|
||||
|
||||
--enable-cloud-logging
|
||||
(DEPRECATED) Automatically send logs from the cluster to the Google
|
||||
Cloud Logging API.
|
||||
|
|
@ -636,14 +637,15 @@ FLAGS
|
|||
|
||||
--monitoring=[COMPONENT,...]
|
||||
Set the components that have monitoring enabled. Valid component values
|
||||
are: SYSTEM, WORKLOAD (Deprecated), NONE
|
||||
are: SYSTEM, WORKLOAD (Deprecated), NONE,API_SERVER,
|
||||
CONTROLLER_MANAGER, SCHEDULER
|
||||
|
||||
For more information, look at
|
||||
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-metrics
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud container clusters create --monitoring=SYSTEM
|
||||
$ gcloud container clusters create --monitoring=SYSTEM,API_SERVER
|
||||
$ gcloud container clusters create --monitoring=NONE
|
||||
|
||||
--network=NETWORK
|
||||
|
|
@ -946,6 +948,21 @@ FLAGS
|
|||
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
||||
|
||||
Flags for Binary Authorization:
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--enable-binauthz
|
||||
(DEPRECATED) Enable Binary Authorization for this cluster.
|
||||
|
||||
The --enable-binauthz flag is deprecated. Please use
|
||||
--binauthz-evaluation-mode instead.
|
||||
|
||||
ClusterDNS
|
||||
|
||||
--cluster-dns=CLUSTER_DNS
|
||||
|
|
@ -1216,6 +1233,17 @@ FLAGS
|
|||
Enables autoscaling in the node pool specified by --node-pool or the
|
||||
default node pool if --node-pool is not provided.
|
||||
|
||||
--location-policy=LOCATION_POLICY
|
||||
Location policy specifies the algorithm used when scaling-up the node
|
||||
pool.
|
||||
|
||||
▸ BALANCED - Is a best effort policy that aims to balance the sizes
|
||||
of available zones.
|
||||
▸ ANY - Instructs the cluster autoscaler to prioritize utilization
|
||||
of unused reservations, and reduces preemption risk for Spot VMs.
|
||||
|
||||
LOCATION_POLICY must be one of: BALANCED, ANY.
|
||||
|
||||
--max-nodes=MAX_NODES
|
||||
Maximum number of nodes per zone in the node pool.
|
||||
|
||||
|
|
@ -1230,6 +1258,20 @@ FLAGS
|
|||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
--total-max-nodes=TOTAL_MAX_NODES
|
||||
Maximum number of all nodes in the node pool.
|
||||
|
||||
Maximum number of all nodes to which the node pool specified by
|
||||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
--total-min-nodes=TOTAL_MIN_NODES
|
||||
Minimum number of all nodes in the node pool.
|
||||
|
||||
Minimum number of all nodes to which the node pool specified by
|
||||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
Master Authorized Networks
|
||||
|
||||
--enable-master-authorized-networks
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud container clusters create-auto NAME [--async]
|
||||
[--autoprovisioning-network-tags=TAGS,[TAGS,...]]
|
||||
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE]
|
||||
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY]
|
||||
[--cluster-ipv4-cidr=CLUSTER_IPV4_CIDR]
|
||||
[--cluster-secondary-range-name=NAME]
|
||||
|
|
@ -60,6 +61,13 @@ FLAGS
|
|||
https://cloud.google.com/sdk/gcloud/reference/compute/firewall-rules/create
|
||||
for examples.
|
||||
|
||||
Flags for Binary Authorization:
|
||||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--boot-disk-kms-key=BOOT_DISK_KMS_KEY
|
||||
The Customer Managed Encryption Key used to encrypt the boot disk
|
||||
attached to each node in the node pool. This should be of the form
|
||||
|
|
|
|||
|
|
@ -10,14 +10,14 @@ SYNOPSIS
|
|||
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
|
||||
| --disable-database-encryption | --disable-default-snat
|
||||
| --disable-workload-identity | --enable-autoscaling
|
||||
| --enable-binauthz | --enable-identity-service
|
||||
| --enable-image-streaming | --enable-intra-node-visibility
|
||||
| --enable-l4-ilb-subsetting | --enable-legacy-authorization
|
||||
| --enable-master-authorized-networks | --enable-master-global-access
|
||||
| --enable-network-policy | --enable-service-externalips
|
||||
| --enable-shielded-nodes | --enable-stackdriver-kubernetes
|
||||
| --enable-vertical-pod-autoscaling | --generate-password
|
||||
| --maintenance-window=START_TIME | --node-locations=ZONE,[ZONE,...]
|
||||
| --enable-identity-service | --enable-image-streaming
|
||||
| --enable-intra-node-visibility | --enable-l4-ilb-subsetting
|
||||
| --enable-legacy-authorization | --enable-master-authorized-networks
|
||||
| --enable-master-global-access | --enable-network-policy
|
||||
| --enable-service-externalips | --enable-shielded-nodes
|
||||
| --enable-stackdriver-kubernetes | --enable-vertical-pod-autoscaling
|
||||
| --generate-password | --maintenance-window=START_TIME
|
||||
| --node-locations=ZONE,[ZONE,...]
|
||||
| --notification-config=[pubsub=ENABLED|DISABLED,
|
||||
pubsub-topic=TOPIC,...]
|
||||
| --private-ipv6-google-access-type=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE
|
||||
|
|
@ -26,7 +26,9 @@ SYNOPSIS
|
|||
| --start-credential-rotation | --start-ip-rotation
|
||||
| --update-addons=[ADDON=ENABLED|DISABLED,...]
|
||||
| --update-labels=[KEY=VALUE,...] | --workload-pool=WORKLOAD_POOL
|
||||
| --clear-maintenance-window | --remove-maintenance-exclusion=NAME
|
||||
| --binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
| --enable-binauthz | --clear-maintenance-window
|
||||
| --remove-maintenance-exclusion=NAME
|
||||
| [--add-maintenance-exclusion-end=TIME_STAMP
|
||||
: --add-maintenance-exclusion-name=NAME
|
||||
--add-maintenance-exclusion-scope=SCOPE
|
||||
|
|
@ -63,7 +65,10 @@ SYNOPSIS
|
|||
| --username=USERNAME, -u USERNAME) [--async]
|
||||
[--cloud-run-config=[load-balancer-type=EXTERNAL,...]]
|
||||
[--master-authorized-networks=NETWORK,[NETWORK,...]]
|
||||
[--node-pool=NODE_POOL] [--max-nodes=MAX_NODES --min-nodes=MIN_NODES]
|
||||
[--node-pool=NODE_POOL]
|
||||
[--location-policy=LOCATION_POLICY --max-nodes=MAX_NODES
|
||||
--min-nodes=MIN_NODES
|
||||
--total-max-nodes=TOTAL_MAX_NODES --total-min-nodes=TOTAL_MIN_NODES]
|
||||
[--region=REGION | --zone=ZONE, -z ZONE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -174,9 +179,6 @@ REQUIRED FLAGS
|
|||
Enables autoscaling in the node pool specified by --node-pool or the
|
||||
default node pool if --node-pool is not provided.
|
||||
|
||||
--enable-binauthz
|
||||
Enable Binary Authorization for this cluster.
|
||||
|
||||
--enable-identity-service
|
||||
Enable Identity Service component on the cluster.
|
||||
|
||||
|
|
@ -459,6 +461,21 @@ REQUIRED FLAGS
|
|||
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
||||
|
||||
Flags for Binary Authorization:
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--enable-binauthz
|
||||
(DEPRECATED) Enable Binary Authorization for this cluster.
|
||||
|
||||
The --enable-binauthz flag is deprecated. Please use
|
||||
--binauthz-evaluation-mode instead.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-maintenance-window
|
||||
|
|
@ -868,14 +885,15 @@ REQUIRED FLAGS
|
|||
|
||||
--monitoring=[COMPONENT,...]
|
||||
Set the components that have monitoring enabled. Valid component
|
||||
values are: SYSTEM, WORKLOAD (Deprecated), NONE
|
||||
values are: SYSTEM, WORKLOAD (Deprecated), NONE,API_SERVER,
|
||||
CONTROLLER_MANAGER, SCHEDULER
|
||||
|
||||
For more information, look at
|
||||
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-metrics
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud container clusters update --monitoring=SYSTEM
|
||||
$ gcloud container clusters update --monitoring=SYSTEM,API_SERVER
|
||||
$ gcloud container clusters update --monitoring=NONE
|
||||
|
||||
--logging-service=LOGGING_SERVICE
|
||||
|
|
@ -955,6 +973,17 @@ OPTIONAL FLAGS
|
|||
|
||||
Cluster autoscaling
|
||||
|
||||
--location-policy=LOCATION_POLICY
|
||||
Location policy specifies the algorithm used when scaling-up the node
|
||||
pool.
|
||||
|
||||
▸ BALANCED - Is a best effort policy that aims to balance the sizes
|
||||
of available zones.
|
||||
▸ ANY - Instructs the cluster autoscaler to prioritize utilization
|
||||
of unused reservations, and reduces preemption risk for Spot VMs.
|
||||
|
||||
LOCATION_POLICY must be one of: BALANCED, ANY.
|
||||
|
||||
--max-nodes=MAX_NODES
|
||||
Maximum number of nodes per zone in the node pool.
|
||||
|
||||
|
|
@ -969,6 +998,20 @@ OPTIONAL FLAGS
|
|||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
--total-max-nodes=TOTAL_MAX_NODES
|
||||
Maximum number of all nodes in the node pool.
|
||||
|
||||
Maximum number of all nodes to which the node pool specified by
|
||||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
--total-min-nodes=TOTAL_MIN_NODES
|
||||
Minimum number of all nodes in the node pool.
|
||||
|
||||
Minimum number of all nodes to which the node pool specified by
|
||||
--node-pool (or default node pool if unspecified) can scale. Ignored
|
||||
unless --enable-autoscaling is also specified.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--region=REGION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue