mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Jul 20 11:47:24 UTC 2023
This commit is contained in:
parent
b4c2508b12
commit
64e67b443c
325 changed files with 10090 additions and 1806 deletions
|
|
@ -18,6 +18,7 @@ SYNOPSIS
|
|||
[--cluster-version=CLUSTER_VERSION]
|
||||
[--create-subnetwork=[KEY=VALUE,...]]
|
||||
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
|
||||
[--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE]
|
||||
[--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]
|
||||
|
|
@ -26,6 +27,7 @@ SYNOPSIS
|
|||
[--enable-cost-allocation] [--enable-dataplane-v2]
|
||||
[--enable-google-cloud-access] [--enable-gvnic]
|
||||
[--enable-identity-service] [--enable-image-streaming]
|
||||
[--enable-insecure-kubelet-readonly-port]
|
||||
[--enable-intra-node-visibility] [--enable-ip-alias]
|
||||
[--enable-kubernetes-alpha]
|
||||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
|
|
@ -66,6 +68,7 @@ SYNOPSIS
|
|||
| --enable-binauthz]
|
||||
[--cluster-dns=CLUSTER_DNS --cluster-dns-domain=CLUSTER_DNS_DOMAIN
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE]
|
||||
[--disable-dataplane-v2-metrics | --enable-dataplane-v2-metrics]
|
||||
[[--enable-autoprovisioning
|
||||
: --autoprovisioning-config-file=AUTOPROVISIONING_CONFIG_FILE
|
||||
| [--max-cpu=MAX_CPU --max-memory=MAX_MEMORY
|
||||
|
|
@ -320,6 +323,35 @@ FLAGS
|
|||
For more information, see
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.
|
||||
|
||||
--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE
|
||||
Select Advanced Datapath Observability mode for the cluster. Defaults
|
||||
to DISABLED.
|
||||
|
||||
Advanced Datapath Observability allows for a real-time view into
|
||||
pod-to-pod traffic within your cluster.
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud container clusters create \
|
||||
--dataplane-v2-observability-mode=DISABLED
|
||||
|
||||
$ gcloud container clusters create \
|
||||
--dataplane-v2-observability-mode=INTERNAL_VPC_LB
|
||||
|
||||
$ gcloud container clusters create \
|
||||
--dataplane-v2-observability-mode=EXTERNAL_LB
|
||||
|
||||
DATAPLANE_V2_OBSERVABILITY_MODE must be one of:
|
||||
|
||||
DISABLED
|
||||
Disables Advanced Datapath Observability.
|
||||
EXTERNAL_LB
|
||||
Makes Advanced Datapath Observability available to the external
|
||||
network.
|
||||
INTERNAL_VPC_LB
|
||||
Makes Advanced Datapath Observability available from the VPC
|
||||
network.
|
||||
|
||||
--default-max-pods-per-node=DEFAULT_MAX_PODS_PER_NODE
|
||||
The default max number of pods per node for node pools in the cluster.
|
||||
|
||||
|
|
@ -448,6 +480,12 @@ FLAGS
|
|||
--enable-image-streaming
|
||||
Specifies whether to enable image streaming on cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-intra-node-visibility
|
||||
Enable Intra-node visibility for this cluster.
|
||||
|
||||
|
|
@ -1096,8 +1134,7 @@ FLAGS
|
|||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED, POLICY_BINDINGS,
|
||||
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--enable-binauthz
|
||||
|
|
@ -1135,6 +1172,14 @@ FLAGS
|
|||
vpc
|
||||
Configures the Cloud DNS zone to be private to the VPC Network.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disable-dataplane-v2-metrics
|
||||
Stops exposing advanced datapath flow metrics on node port.
|
||||
|
||||
--enable-dataplane-v2-metrics
|
||||
Exposes advanced datapath flow metrics on node port.
|
||||
|
||||
Node autoprovisioning
|
||||
|
||||
--enable-autoprovisioning
|
||||
|
|
|
|||
|
|
@ -12,7 +12,9 @@ SYNOPSIS
|
|||
[--cluster-version=CLUSTER_VERSION]
|
||||
[--create-subnetwork=[KEY=VALUE,...]]
|
||||
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
|
||||
[--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE]
|
||||
[--enable-google-cloud-access]
|
||||
[--enable-insecure-kubelet-readonly-port]
|
||||
[--enable-kubernetes-unstable-apis=API,[API,...]]
|
||||
[--enable-master-global-access] [--logging=[COMPONENT,...]]
|
||||
[--monitoring=[COMPONENT,...]] [--network=NETWORK]
|
||||
|
|
@ -71,8 +73,7 @@ FLAGS
|
|||
|
||||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED, POLICY_BINDINGS,
|
||||
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--boot-disk-kms-key=BOOT_DISK_KMS_KEY
|
||||
|
|
@ -161,11 +162,46 @@ FLAGS
|
|||
For more information, see
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.
|
||||
|
||||
--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE
|
||||
Select Advanced Datapath Observability mode for the cluster. Defaults
|
||||
to DISABLED.
|
||||
|
||||
Advanced Datapath Observability allows for a real-time view into
|
||||
pod-to-pod traffic within your cluster.
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud container clusters create-auto \
|
||||
--dataplane-v2-observability-mode=DISABLED
|
||||
|
||||
$ gcloud container clusters create-auto \
|
||||
--dataplane-v2-observability-mode=INTERNAL_VPC_LB
|
||||
|
||||
$ gcloud container clusters create-auto \
|
||||
--dataplane-v2-observability-mode=EXTERNAL_LB
|
||||
|
||||
DATAPLANE_V2_OBSERVABILITY_MODE must be one of:
|
||||
|
||||
DISABLED
|
||||
Disables Advanced Datapath Observability.
|
||||
EXTERNAL_LB
|
||||
Makes Advanced Datapath Observability available to the external
|
||||
network.
|
||||
INTERNAL_VPC_LB
|
||||
Makes Advanced Datapath Observability available from the VPC
|
||||
network.
|
||||
|
||||
--enable-google-cloud-access
|
||||
When you enable Google Cloud Access, any public IP addresses owned by
|
||||
Google Cloud can reach the public control plane endpoint of your
|
||||
cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-kubernetes-unstable-apis=API,[API,...]
|
||||
Enable Kubernetes beta API features on this cluster. Beta APIs are not
|
||||
expected to be production ready and should be avoided in
|
||||
|
|
|
|||
|
|
@ -31,8 +31,11 @@ DESCRIPTION
|
|||
(https://cloud.google.com/sdk/docs/properties) to true before running
|
||||
gcloud container clusters get-credentials
|
||||
|
||||
See https://cloud.google.com/kubernetes-engine/docs/kubectl for kubectl
|
||||
documentation.
|
||||
See
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl
|
||||
for kubectl usage with Google Kubernetes Engine and
|
||||
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands for
|
||||
available kubectl commands.
|
||||
|
||||
EXAMPLES
|
||||
To switch to working on your cluster 'sample-cluster', run:
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@ SYNOPSIS
|
|||
| --autoscaling-profile=AUTOSCALING_PROFILE
|
||||
| --complete-credential-rotation | --complete-ip-rotation
|
||||
| --database-encryption-key=DATABASE_ENCRYPTION_KEY
|
||||
| --dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE
|
||||
| --disable-database-encryption | --disable-default-snat
|
||||
| --disable-workload-identity | --enable-autoscaling
|
||||
| --enable-cost-allocation | --enable-google-cloud-access
|
||||
| --enable-identity-service | --enable-image-streaming
|
||||
| --enable-insecure-kubelet-readonly-port
|
||||
| --enable-intra-node-visibility
|
||||
| --enable-kubernetes-unstable-apis=API,[API,...]
|
||||
| --enable-l4-ilb-subsetting | --enable-legacy-authorization
|
||||
|
|
@ -52,7 +54,9 @@ SYNOPSIS
|
|||
--enable-resource-consumption-metering
|
||||
--resource-usage-bigquery-dataset=RESOURCE_USAGE_BIGQUERY_DATASET
|
||||
| --cluster-dns=CLUSTER_DNS --cluster-dns-domain=CLUSTER_DNS_DOMAIN
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE | [--enable-autoprovisioning
|
||||
--cluster-dns-scope=CLUSTER_DNS_SCOPE
|
||||
| --disable-dataplane-v2-metrics | --enable-dataplane-v2-metrics
|
||||
| [--enable-autoprovisioning
|
||||
: --autoprovisioning-config-file=AUTOPROVISIONING_CONFIG_FILE
|
||||
| --autoprovisioning-image-type=AUTOPROVISIONING_IMAGE_TYPE
|
||||
--autoprovisioning-locations=ZONE,[ZONE,...]
|
||||
|
|
@ -152,6 +156,35 @@ REQUIRED FLAGS
|
|||
For more information, see
|
||||
https://cloud.google.com/kubernetes-engine/docs/how-to/encrypting-secrets.
|
||||
|
||||
--dataplane-v2-observability-mode=DATAPLANE_V2_OBSERVABILITY_MODE
|
||||
Select Advanced Datapath Observability mode for the cluster. Defaults
|
||||
to DISABLED.
|
||||
|
||||
Advanced Datapath Observability allows for a real-time view into
|
||||
pod-to-pod traffic within your cluster.
|
||||
|
||||
Examples:
|
||||
|
||||
$ gcloud container clusters update \
|
||||
--dataplane-v2-observability-mode=DISABLED
|
||||
|
||||
$ gcloud container clusters update \
|
||||
--dataplane-v2-observability-mode=INTERNAL_VPC_LB
|
||||
|
||||
$ gcloud container clusters update \
|
||||
--dataplane-v2-observability-mode=EXTERNAL_LB
|
||||
|
||||
DATAPLANE_V2_OBSERVABILITY_MODE must be one of:
|
||||
|
||||
DISABLED
|
||||
Disables Advanced Datapath Observability.
|
||||
EXTERNAL_LB
|
||||
Makes Advanced Datapath Observability available to the external
|
||||
network.
|
||||
INTERNAL_VPC_LB
|
||||
Makes Advanced Datapath Observability available from the VPC
|
||||
network.
|
||||
|
||||
--disable-database-encryption
|
||||
Disable database encryption.
|
||||
|
||||
|
|
@ -221,6 +254,12 @@ REQUIRED FLAGS
|
|||
--enable-image-streaming
|
||||
Specifies whether to enable image streaming on cluster.
|
||||
|
||||
--enable-insecure-kubelet-readonly-port
|
||||
Enables the Kubelet's insecure Read Only Port.
|
||||
|
||||
To disable in an existing cluster, explicitly set flag to
|
||||
--no-enable-insecure-kubelet-readonly-port.
|
||||
|
||||
--enable-intra-node-visibility
|
||||
Enable Intra-node visibility for this cluster.
|
||||
|
||||
|
|
@ -602,8 +641,6 @@ REQUIRED FLAGS
|
|||
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
|
||||
Enable Binary Authorization for this cluster.
|
||||
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
|
||||
POLICY_BINDINGS,
|
||||
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
|
||||
PROJECT_SINGLETON_POLICY_ENFORCE.
|
||||
|
||||
--enable-binauthz
|
||||
|
|
@ -777,6 +814,14 @@ REQUIRED FLAGS
|
|||
vpc
|
||||
Configures the Cloud DNS zone to be private to the VPC Network.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--disable-dataplane-v2-metrics
|
||||
Stops exposing advanced datapath flow metrics on node port.
|
||||
|
||||
--enable-dataplane-v2-metrics
|
||||
Exposes advanced datapath flow metrics on node port.
|
||||
|
||||
Node autoprovisioning
|
||||
|
||||
--enable-autoprovisioning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue