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

gcloud: Wed Aug 2 11:22:33 UTC 2023

This commit is contained in:
Automated 2023-08-02 11:22:33 +00:00
parent 4558a00e48
commit 678b9afba9
240 changed files with 7837 additions and 521 deletions

View file

@ -145,7 +145,7 @@ FLAGS
Attaches accelerators (e.g. GPUs) to all nodes.
type
(Required) The specific type (e.g. nvidia-tesla-k80 for nVidia
(Required) The specific type (e.g. nvidia-tesla-k80 for NVIDIA
Tesla K80) of accelerator to attach to the instances. Use gcloud
compute accelerator-types list to learn about all available
accelerator types.
@ -158,15 +158,15 @@ FLAGS
(Optional) The NVIDIA driver version to install. GPU_DRIVER_VERSION
must be one of:
`default`: Install the default driver version. If you omit the flag `gpu-driver-version`,
this is the default option.
`default`: Install the default driver version.
`latest`: Install the latest available driver version. Available only for
nodes that use Container-Optimized OS.
`disabled`: Skip automatic driver installation. You must [manually install a
driver](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#installing_drivers)
after you create the cluster.
after you create the cluster. If you omit the flag `gpu-driver-version`,
this is the default option.
gpu-partition-size
(Optional) The GPU partition size used when running multi-instance
@ -573,9 +573,6 @@ FLAGS
endpoint from any Google Cloud region or on-premises environment
regardless of the private cluster's region.
Must be used in conjunction with '--enable-ip-alias' and
'--enable-private-nodes'.
--enable-multi-networking
Enables multi-networking on the cluster. Multi-networking is disabled
by default.

View file

@ -206,9 +206,6 @@ FLAGS
endpoint from any Google Cloud region or on-premises environment
regardless of the private cluster's region.
Must be used in conjunction with '--enable-ip-alias' and
'--enable-private-nodes'.
--fleet-project=PROJECT_ID_OR_NUMBER
Sets fleet host project for the cluster. If specified, the current
cluster will be registered as a fleet membership under the fleet host

View file

@ -74,6 +74,17 @@ EXAMPLES
test-acct@test-project.iam.gserviceaccount.com \
--role=role/mynamespace/namespace-reader
The users provided can be using a Google identity (only email) or using
external identity providers (starting with
"principal://iam.googleapis.com"):
$ gcloud alpha container fleet memberships generate-gateway-rbac \
--membership=my-cluster \
--users=foo@example.com,principal://iam.googleapis.com/\
locations/global/workforcePools/pool/subject/user \
--role=clusterrole/cluster-admin --context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig --apply
FLAGS
--anthos-support
If specified, this command will generate RBAC policy file for anthos

View file

@ -19,6 +19,12 @@ COMMANDS
describe
(ALPHA) Describe a long-running operation.
list
(ALPHA) List long-running operations.
wait
(ALPHA) Poll a long-running operation for completion.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct

View file

@ -0,0 +1,67 @@
NAME
gcloud alpha container fleet operations list - list long-running operations
SYNOPSIS
gcloud alpha container fleet operations list
[--location=LOCATION; default="-"] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List long-running operations.
EXAMPLES
To list all operations in location us-west1, run:
$ gcloud alpha container fleet operations list --location=us-west1
FLAGS
--location=LOCATION; default="-"
The location name.
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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,62 @@
NAME
gcloud alpha container fleet operations wait - poll a long-running
operation for completion
SYNOPSIS
gcloud alpha container fleet operations wait
(OPERATION : --location=LOCATION; default="global")
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Poll a long-running operation for completion.
EXAMPLES
To wait for an operation in location us-west1 to complete, run:
$ gcloud alpha container fleet operations wait OPERATION \
--location=us-west1
POSITIONAL ARGUMENTS
Operation resource - operation to wait. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument operation on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
OPERATION
ID of the operation or fully qualified identifier for the operation.
To set the name attribute:
▸ provide the argument operation on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION; default="global"
Google Cloud location for the operation.
To set the location attribute:
▸ provide the argument operation on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -74,6 +74,17 @@ EXAMPLES
test-acct@test-project.iam.gserviceaccount.com \
--role=role/mynamespace/namespace-reader
The users provided can be using a Google identity (only email) or using
external identity providers (starting with
"principal://iam.googleapis.com"):
$ gcloud alpha container hub memberships generate-gateway-rbac \
--membership=my-cluster \
--users=foo@example.com,principal://iam.googleapis.com/\
locations/global/workforcePools/pool/subject/user \
--role=clusterrole/cluster-admin --context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig --apply
FLAGS
--anthos-support
If specified, this command will generate RBAC policy file for anthos

View file

@ -19,6 +19,12 @@ COMMANDS
describe
(ALPHA) Describe a long-running operation.
list
(ALPHA) List long-running operations.
wait
(ALPHA) Poll a long-running operation for completion.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct

View file

@ -0,0 +1,67 @@
NAME
gcloud alpha container hub operations list - list long-running operations
SYNOPSIS
gcloud alpha container hub operations list
[--location=LOCATION; default="-"] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List long-running operations.
EXAMPLES
To list all operations in location us-west1, run:
$ gcloud alpha container hub operations list --location=us-west1
FLAGS
--location=LOCATION; default="-"
The location name.
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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -0,0 +1,62 @@
NAME
gcloud alpha container hub operations wait - poll a long-running operation
for completion
SYNOPSIS
gcloud alpha container hub operations wait
(OPERATION : --location=LOCATION; default="global")
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Poll a long-running operation for completion.
EXAMPLES
To wait for an operation in location us-west1 to complete, run:
$ gcloud alpha container hub operations wait OPERATION \
--location=us-west1
POSITIONAL ARGUMENTS
Operation resource - operation to wait. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
To set the project attribute:
◆ provide the argument operation on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
OPERATION
ID of the operation or fully qualified identifier for the operation.
To set the name attribute:
▸ provide the argument operation on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION; default="global"
Google Cloud location for the operation.
To set the location attribute:
▸ provide the argument operation on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.

View file

@ -95,7 +95,7 @@ FLAGS
Attaches accelerators (e.g. GPUs) to all nodes.
type
(Required) The specific type (e.g. nvidia-tesla-k80 for nVidia
(Required) The specific type (e.g. nvidia-tesla-k80 for NVIDIA
Tesla K80) of accelerator to attach to the instances. Use gcloud
compute accelerator-types list to learn about all available
accelerator types.
@ -108,15 +108,15 @@ FLAGS
(Optional) The NVIDIA driver version to install. GPU_DRIVER_VERSION
must be one of:
`default`: Install the default driver version. If you omit the flag `gpu-driver-version`,
this is the default option.
`default`: Install the default driver version.
`latest`: Install the latest available driver version. Available only for
nodes that use Container-Optimized OS.
`disabled`: Skip automatic driver installation. You must [manually install a
driver](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#installing_drivers)
after you create the cluster.
after you create the cluster. If you omit the flag `gpu-driver-version`,
this is the default option.
gpu-partition-size
(Optional) The GPU partition size used when running multi-instance