1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Jul 13 09:59:37 UTC 2022

This commit is contained in:
Automated 2022-07-13 09:59:38 +00:00
parent cf5ab60e4a
commit 879929cbc6
Failed to extract signature
323 changed files with 7203 additions and 4178 deletions

View file

@ -18,7 +18,7 @@ SYNOPSIS
[--default-max-pods-per-node=DEFAULT_MAX_PODS_PER_NODE]
[--disable-default-snat] [--disable-pod-cidr-overprovision]
[--disk-size=DISK_SIZE] [--disk-type=DISK_TYPE] [--enable-autorepair]
[--no-enable-autoupgrade] [--enable-binauthz] [--enable-cloud-logging]
[--no-enable-autoupgrade] [--enable-cloud-logging]
[--enable-cloud-monitoring] [--enable-cloud-run-alpha]
[--enable-confidential-nodes] [--enable-cost-allocation]
[--enable-dataplane-v2] [--enable-gke-oidc] [--enable-gvnic]
@ -57,6 +57,8 @@ SYNOPSIS
[--tags=TAG,[TAG,...]] [--threads-per-core=THREADS_PER_CORE]
[--workload-metadata=WORKLOAD_METADATA] [--workload-pool=WORKLOAD_POOL]
[--additional-zones=ZONE,[ZONE,...] | --node-locations=ZONE,[ZONE,...]]
[--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
@ -77,7 +79,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
@ -343,9 +347,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.
@ -699,14 +700,16 @@ 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 beta container clusters create --monitoring=SYSTEM
$ gcloud beta container clusters create \
--monitoring=SYSTEM,API_SERVER
$ gcloud beta container clusters create --monitoring=NONE
--network=NETWORK
@ -1071,6 +1074,21 @@ FLAGS
--zone us-central1-a \
--node-locations us-central1-a,us-central1-b
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
@ -1341,6 +1359,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.
@ -1355,6 +1384,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

View file

@ -5,6 +5,7 @@ NAME
SYNOPSIS
gcloud beta 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

View file

@ -10,7 +10,7 @@ SYNOPSIS
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
| --disable-database-encryption | --disable-default-snat
| --disable-workload-identity | --enable-autoscaling
| --enable-binauthz | --enable-cost-allocation | --enable-gke-oidc
| --enable-cost-allocation | --enable-gke-oidc
| --enable-identity-service | --enable-image-streaming
| --enable-intra-node-visibility | --enable-l4-ilb-subsetting
| --enable-legacy-authorization
@ -30,7 +30,9 @@ SYNOPSIS
| --update-addons=[ADDON=ENABLED|DISABLED,...]
| --update-labels=[KEY=VALUE,...] | --workload-pool=WORKLOAD_POOL
| --additional-zones=[ZONE,...] | --node-locations=ZONE,[ZONE,...]
| --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
@ -70,7 +72,10 @@ SYNOPSIS
[--cloud-run-config=[load-balancer-type=EXTERNAL,...]]
[--istio-config=[auth=MTLS_PERMISSIVE,...]]
[--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
@ -181,9 +186,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-cost-allocation
Enable the cost management feature.
@ -540,6 +542,21 @@ REQUIRED FLAGS
--zone us-central1-a \
--node-locations us-central1-a,us-central1-b
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
@ -987,14 +1004,16 @@ 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 beta container clusters update --monitoring=SYSTEM
$ gcloud beta container clusters update \
--monitoring=SYSTEM,API_SERVER
$ gcloud beta container clusters update --monitoring=NONE
--logging-service=LOGGING_SERVICE
@ -1090,6 +1109,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.
@ -1104,6 +1134,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