1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Thu Jun 15 10:31:27 UTC 2023

This commit is contained in:
Automated 2023-06-15 10:31:27 +00:00
parent 435c9359b5
commit 2102dc5511
223 changed files with 8143 additions and 443 deletions

View file

@ -13,16 +13,19 @@ SYNOPSIS
--subnet-ids=[SUBNET_ID,...] --vpc-id=VPC_ID
[--admin-users=USER,[USER,...]]
[--annotations=ANNOTATION,[ANNOTATION,...]] [--async]
[--description=DESCRIPTION] [--enable-managed-prometheus]
[--instance-type=INSTANCE_TYPE] [--logging=COMPONENT,[COMPONENT,...]]
[--description=DESCRIPTION] [--disable-per-node-pool-sg-rules]
[--enable-managed-prometheus] [--instance-type=INSTANCE_TYPE]
[--logging=COMPONENT,[COMPONENT,...]]
[--main-volume-iops=MAIN_VOLUME_IOPS]
[--main-volume-kms-key-arn=MAIN_VOLUME_KMS_KEY_ARN]
[--main-volume-size=MAIN_VOLUME_SIZE]
[--main-volume-throughput=MAIN_VOLUME_THROUGHPUT]
[--main-volume-type=MAIN_VOLUME_TYPE]
[--role-session-name=ROLE_SESSION_NAME]
[--root-volume-iops=ROOT_VOLUME_IOPS]
[--root-volume-kms-key-arn=ROOT_VOLUME_KMS_KEY_ARN]
[--root-volume-size=ROOT_VOLUME_SIZE]
[--root-volume-throughput=ROOT_VOLUME_THROUGHPUT]
[--root-volume-type=ROOT_VOLUME_TYPE]
[--security-group-ids=[SECURITY_GROUP_ID,...]]
[--ssh-ec2-key-pair=SSH_EC2_KEY_PAIR] [--tags=TAG,[TAG,...]]
@ -131,6 +134,12 @@ OPTIONAL FLAGS
--description=DESCRIPTION
Description for the cluster.
--disable-per-node-pool-sg-rules
Disable the default per node pool subnet security group rules on the
control plane security group. When disabled, at least one security
group that allows node pools to send traffic to the control plane on
ports TCP/443 and TCP/8132 must be provided.
--enable-managed-prometheus
Enable managed collection for Managed Service for Prometheus.
@ -160,6 +169,10 @@ OPTIONAL FLAGS
size unit of GB for gigabyte, or TB for terabyte. If no size unit is
specified, GB is assumed.
--main-volume-throughput=MAIN_VOLUME_THROUGHPUT
Throughput to provision for the main volume, in MiB/s. Only valid if
the volume type is GP3.
--main-volume-type=MAIN_VOLUME_TYPE
Type of the main volume. MAIN_VOLUME_TYPE must be one of: gp2, gp3.
@ -179,6 +192,10 @@ OPTIONAL FLAGS
size unit of GB for gigabyte, or TB for terabyte. If no size unit is
specified, GB is assumed.
--root-volume-throughput=ROOT_VOLUME_THROUGHPUT
Throughput to provision for the root volume, in MiB/s. Only valid if
the volume type is GP3.
--root-volume-type=ROOT_VOLUME_TYPE
Type of the root volume. ROOT_VOLUME_TYPE must be one of: gp2, gp3.

View file

@ -12,6 +12,7 @@ SYNOPSIS
[--root-volume-iops=ROOT_VOLUME_IOPS]
[--root-volume-kms-key-arn=ROOT_VOLUME_KMS_KEY_ARN]
[--root-volume-size=ROOT_VOLUME_SIZE]
[--root-volume-throughput=ROOT_VOLUME_THROUGHPUT]
[--root-volume-type=ROOT_VOLUME_TYPE] [--validate-only]
[--annotations=ANNOTATION,[ANNOTATION,...] | --clear-annotations]
[--clear-description | --description=DESCRIPTION]
@ -22,6 +23,7 @@ SYNOPSIS
[--clear-ssh-ec2-key-pair | --ssh-ec2-key-pair=SSH_EC2_KEY_PAIR]
[--clear-tags | --tags=TAG,[TAG,...]]
[--disable-managed-prometheus | --enable-managed-prometheus]
[--disable-per-node-pool-sg-rules | --enable-per-node-pool-sg-rules]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -114,6 +116,10 @@ FLAGS
size unit of GB for gigabyte, or TB for terabyte. If no size unit is
specified, GB is assumed.
--root-volume-throughput=ROOT_VOLUME_THROUGHPUT
Throughput to provision for the root volume, in MiB/s. Only valid if
the volume type is GP3.
--root-volume-type=ROOT_VOLUME_TYPE
Type of the root volume. ROOT_VOLUME_TYPE must be one of: gp2, gp3.
@ -205,6 +211,20 @@ FLAGS
--enable-managed-prometheus
Enable managed collection for Managed Service for Prometheus.
Default per node pool security group rules
At most one of these can be specified:
--disable-per-node-pool-sg-rules
Disable the default per node pool subnet security group rules on the
control plane security group. When disabled, at least one security
group that allows node pools to send traffic to the control plane on
ports TCP/443 and TCP/8132 must be provided.
--enable-per-node-pool-sg-rules
Enable the default per node pool subnet security group rules on the
control plane security group.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -16,6 +16,7 @@ SYNOPSIS
[--root-volume-iops=ROOT_VOLUME_IOPS]
[--root-volume-kms-key-arn=ROOT_VOLUME_KMS_KEY_ARN]
[--root-volume-size=ROOT_VOLUME_SIZE]
[--root-volume-throughput=ROOT_VOLUME_THROUGHPUT]
[--root-volume-type=ROOT_VOLUME_TYPE]
[--security-group-ids=[SECURITY_GROUP_ID,...]]
[--ssh-ec2-key-pair=SSH_EC2_KEY_PAIR] [--tags=TAG,[TAG,...]]
@ -143,6 +144,10 @@ OPTIONAL FLAGS
size unit of GB for gigabyte, or TB for terabyte. If no size unit is
specified, GB is assumed.
--root-volume-throughput=ROOT_VOLUME_THROUGHPUT
Throughput to provision for the root volume, in MiB/s. Only valid if
the volume type is GP3.
--root-volume-type=ROOT_VOLUME_TYPE
Type of the root volume. ROOT_VOLUME_TYPE must be one of: gp2, gp3.

View file

@ -10,6 +10,7 @@ SYNOPSIS
[--node-version=NODE_VERSION] [--root-volume-iops=ROOT_VOLUME_IOPS]
[--root-volume-kms-key-arn=ROOT_VOLUME_KMS_KEY_ARN]
[--root-volume-size=ROOT_VOLUME_SIZE]
[--root-volume-throughput=ROOT_VOLUME_THROUGHPUT]
[--root-volume-type=ROOT_VOLUME_TYPE] [--validate-only]
[--annotations=ANNOTATION,[ANNOTATION,...] | --clear-annotations]
[--clear-autoscaling-metrics
@ -100,6 +101,10 @@ FLAGS
size unit of GB for gigabyte, or TB for terabyte. If no size unit is
specified, GB is assumed.
--root-volume-throughput=ROOT_VOLUME_THROUGHPUT
Throughput to provision for the root volume, in MiB/s. Only valid if
the volume type is GP3.
--root-volume-type=ROOT_VOLUME_TYPE
Type of the root volume. ROOT_VOLUME_TYPE must be one of: gp2, gp3.

View file

@ -0,0 +1,84 @@
NAME
gcloud container clusters check-autopilot-compatibility - check autopilot
compatibility of a running cluster
SYNOPSIS
gcloud container clusters check-autopilot-compatibility NAME
[--location=LOCATION | --region=REGION | --zone=ZONE, -z ZONE]
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Check autopilot compatibility of a running cluster.
EXAMPLES
To check autopilot compatibility of an existing cluster, run:
$ gcloud container clusters check-autopilot-compatibility \
sample-cluster
POSITIONAL ARGUMENTS
NAME
The name of this cluster.
FLAGS
At most one of these can be specified:
--location=LOCATION
Compute zone or region (e.g. us-central1-a or us-central1) for the
cluster.
--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.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
--uri
Print a list of resource URIs instead of the default output, and change
the command output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To display URIs
alongside other keys instead, use the uri() transform.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha container clusters check-autopilot-compatibility
$ gcloud beta container clusters check-autopilot-compatibility

View file

@ -563,7 +563,7 @@ FLAGS
Set the components that have logging enabled. Valid component values
are: SYSTEM, WORKLOAD, API_SERVER, CONTROLLER_MANAGER, SCHEDULER, NONE
For more information, look at
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-logs
Examples:
@ -702,10 +702,10 @@ FLAGS
--monitoring=[COMPONENT,...]
Set the components that have monitoring enabled. Valid component values
are: SYSTEM, WORKLOAD (Deprecated), NONE,API_SERVER,
are: SYSTEM, WORKLOAD (Deprecated), NONE, API_SERVER,
CONTROLLER_MANAGER, SCHEDULER
For more information, look at
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-metrics
Examples:
@ -1055,8 +1055,8 @@ FLAGS
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
Enable Binary Authorization for this cluster.
BINAUTHZ_EVALUATION_MODE must be one of: BOUND_POLICIES,
BOUND_POLICIES_AND_PROJECT_SINGLETON_POLICY_ENFORCE, DISABLED,
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED, POLICY_BINDINGS,
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
PROJECT_SINGLETON_POLICY_ENFORCE.
--enable-binauthz

View file

@ -14,7 +14,8 @@ SYNOPSIS
[--database-encryption-key=DATABASE_ENCRYPTION_KEY]
[--enable-google-cloud-access]
[--enable-kubernetes-unstable-apis=API,[API,...]]
[--enable-master-global-access] [--network=NETWORK]
[--enable-master-global-access] [--logging=[COMPONENT,...]]
[--monitoring=[COMPONENT,...]] [--network=NETWORK]
[--private-endpoint-subnetwork=NAME] [--release-channel=CHANNEL]
[--security-group=SECURITY_GROUP] [--services-ipv4-cidr=CIDR]
[--services-secondary-range-name=NAME] [--subnetwork=SUBNETWORK]
@ -68,8 +69,8 @@ FLAGS
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
Enable Binary Authorization for this cluster.
BINAUTHZ_EVALUATION_MODE must be one of: BOUND_POLICIES,
BOUND_POLICIES_AND_PROJECT_SINGLETON_POLICY_ENFORCE, DISABLED,
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED, POLICY_BINDINGS,
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
PROJECT_SINGLETON_POLICY_ENFORCE.
--boot-disk-kms-key=BOOT_DISK_KMS_KEY
@ -176,6 +177,34 @@ FLAGS
Must be used in conjunction with '--enable-ip-alias' and
'--enable-private-nodes'.
--logging=[COMPONENT,...]
Set the components that have logging enabled. Valid component values
are: SYSTEM, WORKLOAD, API_SERVER, CONTROLLER_MANAGER, SCHEDULER, NONE
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-logs
Examples:
$ gcloud container clusters create-auto --logging=SYSTEM
$ gcloud container clusters create-auto \
--logging=SYSTEM,API_SERVER,WORKLOAD
$ gcloud container clusters create-auto --logging=NONE
--monitoring=[COMPONENT,...]
Set the components that have monitoring enabled. Valid component values
are: SYSTEM, WORKLOAD (Deprecated), NONE, API_SERVER,
CONTROLLER_MANAGER, SCHEDULER
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-metrics
Examples:
$ gcloud container clusters create-auto \
--monitoring=SYSTEM,API_SERVER
$ gcloud container clusters create-auto --monitoring=NONE
--network=NETWORK
The Compute Engine Network that the cluster will connect to. Google
Kubernetes Engine will use this network when creating routes and

View file

@ -36,6 +36,9 @@ GCLOUD WIDE FLAGS
COMMANDS
COMMAND is one of the following:
check-autopilot-compatibility
Check autopilot compatibility of a running cluster.
create
Create a cluster for running containers.

View file

@ -551,8 +551,9 @@ REQUIRED FLAGS
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
Enable Binary Authorization for this cluster.
BINAUTHZ_EVALUATION_MODE must be one of: BOUND_POLICIES,
BOUND_POLICIES_AND_PROJECT_SINGLETON_POLICY_ENFORCE, DISABLED,
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
POLICY_BINDINGS,
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE,
PROJECT_SINGLETON_POLICY_ENFORCE.
--enable-binauthz
@ -960,7 +961,7 @@ REQUIRED FLAGS
are: SYSTEM, WORKLOAD, API_SERVER, CONTROLLER_MANAGER, SCHEDULER,
NONE
For more information, look at
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-logs
Examples:
@ -972,10 +973,10 @@ REQUIRED FLAGS
--monitoring=[COMPONENT,...]
Set the components that have monitoring enabled. Valid component
values are: SYSTEM, WORKLOAD (Deprecated), NONE,API_SERVER,
values are: SYSTEM, WORKLOAD (Deprecated), NONE, API_SERVER,
CONTROLLER_MANAGER, SCHEDULER
For more information, look at
For more information, see
https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-metrics
Examples: