1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 17:05:28 +00:00

gcloud: Wed Feb 8 10:13:59 UTC 2023

This commit is contained in:
Automated 2023-02-08 10:13:59 +00:00
parent fc11b54760
commit 11068cb123
240 changed files with 8982 additions and 619 deletions

View file

@ -3,8 +3,8 @@ NAME
SYNOPSIS
gcloud alpha container azure clients create (CLIENT : --location=LOCATION)
--application-id=APP_ID --tenant-id=TENANT_ID [--validate-only]
[GCLOUD_WIDE_FLAG ...]
--application-id=APP_ID --tenant-id=TENANT_ID [--async]
[--validate-only] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create an Azure client.
@ -52,6 +52,10 @@ REQUIRED FLAGS
client.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--validate-only
Validate the creation of the client, but don't actually perform it.

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud alpha container azure clients delete (CLIENT : --location=LOCATION)
[--allow-missing] [GCLOUD_WIDE_FLAG ...]
[--allow-missing] [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete an Azure client.
@ -46,6 +46,10 @@ FLAGS
Allow idempotent deletion of cluster. The request will still succeed in
case the cluster does not exist.
--async
Return immediately, without waiting for the operation in progress to
complete.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -127,7 +127,7 @@ OPTIONAL FLAGS
Schedule on which backups will be automatically created.
Use standard cron (http://en.wikipedia.org/wiki/Cron#Overview) syntax.
For example, "10 3 * * " will automatically create a backup at 0310
For example, 10 3 * * * will automatically create a backup at 0310
every day. All times are interpreted as UTC. The minimum interval
between scheduled backups is 10 minutes.

View file

@ -144,7 +144,7 @@ FLAGS
Schedule on which backups will be automatically created.
Use standard cron (http://en.wikipedia.org/wiki/Cron#Overview) syntax.
For example, "10 3 * * " will automatically create a backup at 0310
For example, 10 3 * * * will automatically create a backup at 0310
every day. All times are interpreted as UTC. The minimum interval
between scheduled backups is 10 minutes.

View file

@ -27,7 +27,8 @@ COMMANDS
(ALPHA) List Anthos on bare metal admin clusters.
query-version-config
(ALPHA) Query Anthos on bare metal admin cluster version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on bare
metal admin cluster.
update
(ALPHA) Update an Anthos on bare metal admin cluster.

View file

@ -1,6 +1,7 @@
NAME
gcloud alpha container bare-metal admin-clusters query-version-config -
query Anthos on bare metal admin cluster version configuration
query versions for creating or upgrading an Anthos on bare metal admin
cluster
SYNOPSIS
gcloud alpha container bare-metal admin-clusters query-version-config
@ -8,7 +9,8 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Query Anthos on bare metal admin cluster version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on bare metal
admin cluster.
EXAMPLES
To query versions for creating an admin cluster, run:
@ -21,11 +23,11 @@ EXAMPLES
$ gcloud alpha container bare-metal admin-clusters \ query-version-config --admin-cluster=my-admin-cluster
FLAGS
Version configuration type
Use cases for querying versions.
Upgrade configuration
Upgrade an Anthos on bare metal user cluster use case.
Admin cluster resource - admin cluster to query version configuration
Admin cluster resource - Admin cluster to query versions for upgrade.
This represents a Cloud resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways. To set the
project attribute:
@ -35,6 +37,7 @@ FLAGS
▫ set the property core/project. To set the location attribute:
▫ provide the argument --admin-cluster on the command line with a
fully specified name;
▫ provide the argument --location on the command line;
▫ set the property container_bare_metal/location.
--admin-cluster=ADMIN_CLUSTER

View file

@ -32,7 +32,8 @@ COMMANDS
(ALPHA) List Anthos clusters on bare metal.
query-version-config
(ALPHA) Query Anthos on bare metal version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on bare
metal user cluster.
update
(ALPHA) Update an Anthos cluster on bare metal.

View file

@ -1,23 +1,26 @@
NAME
gcloud alpha container bare-metal clusters query-version-config - query
Anthos on bare metal version configuration
versions for creating or upgrading an Anthos on bare metal user cluster
SYNOPSIS
gcloud alpha container bare-metal clusters query-version-config
(--cluster=CLUSTER
: [--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global"])
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global" --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT])
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Query Anthos on bare metal version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on bare metal
user cluster.
EXAMPLES
To query versions for creating a cluster with an admin cluster membership
named my-admin-cluster-membership, run:
named my-admin-cluster-membership managed in project
my-admin-cluster-project run:
$ gcloud alpha container bare-metal clusters query-version-config \
--admin-cluster-membership=my-admin-cluster-membership
--admin-cluster-membership=my-admin-cluster-membership \
--admin-cluster-membership-project=my-admin-cluster-project
To query versions for upgrading a user cluster named my-user-cluster, run:
@ -25,13 +28,13 @@ EXAMPLES
--cluster=my-user-cluster
REQUIRED FLAGS
Version configuration type
Use cases for querying versions.
Exactly one of these must be specified:
Upgrade configuration
Upgrade an Anthos on bare metal user cluster use case.
Cluster resource - cluster to query version configuration This
Cluster resource - Cluster to query versions for upgrade. This
represents a Cloud resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways. To set the
project attribute:
@ -41,6 +44,7 @@ REQUIRED FLAGS
▫ set the property core/project. To set the location attribute:
▫ provide the argument --cluster on the command line with a fully
specified name;
▫ provide the argument --location on the command line;
▫ set the property container_bare_metal/location.
--cluster=CLUSTER
@ -48,17 +52,12 @@ REQUIRED FLAGS
To set the cluster attribute:
◇ provide the argument --cluster on the command line.
Create configuration
Create an Anthos on bare metal user cluster use case.
Admin cluster membership resource - membership of the admin cluster.
Membership can be the membership ID or the full resource name. 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 --admin-cluster-membership on the command
line with a fully specified name;
▫ provide the argument --project on the command line;
▫ set the property core/project.
Admin cluster membership resource - Membership of the admin cluster to
query versions for create. Membership can be the membership ID or the
full resource name. The arguments in this group can be used to specify
the attributes of this resource.
--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
ID of the admin_cluster_membership or fully qualified identifier
@ -78,6 +77,16 @@ REQUIRED FLAGS
◇ provide the argument --admin-cluster-membership-location on
the command line.
--admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT
Project ID of the Google Cloud project for the
admin_cluster_membership. To set the project attribute:
◇ provide the argument --admin-cluster-membership on the
command line with a fully specified name;
◇ provide the argument --admin-cluster-membership-project on
the command line;
◇ provide the argument --project on the command line;
◇ set the property core/project.
OPTIONAL FLAGS
Location resource - Google Cloud location to query version configuration.
This represents a Cloud resource. (NOTE) Some attributes are not given

View file

@ -46,72 +46,73 @@ DESCRIPTION
avaible.
EXAMPLES
Register a non-GKE or GKE On-Prem cluster referenced from a specific kubeconfig file, and install the Connect agent:
Register a non-GKE or GKE On-Prem cluster referenced from a specific
kubeconfig file, and install the Connect agent:
$ gcloud alpha container fleet memberships register my-cluster \
--context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster referenced from the default
kubeconfig file, and install the Connect agent:
Register a non-GKE or GKE On-Prem cluster referenced from the default
kubeconfig file, and install the Connect agent:
$ gcloud alpha container fleet memberships register my-cluster \
--context=my-cluster-context \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster, and install a specific version
of the Connect agent:
Register a non-GKE or GKE On-Prem cluster, and install a specific version
of the Connect agent:
$ gcloud alpha container fleet memberships register my-cluster \
--context=my-cluster-context \
--version=gkeconnect_20190802_02_00 \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--version=gkeconnect_20190802_02_00 \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster and output a manifest that can be
used to install the Connect agent:
Register a non-GKE or GKE On-Prem cluster and output a manifest that can be
used to install the Connect agent:
$ gcloud alpha container fleet memberships register my-cluster \
--context=my-cluster-context \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster referenced from a GKE URI:
Register a GKE cluster referenced from a GKE URI:
$ gcloud alpha container fleet memberships register my-cluster \
--gke-uri=my-cluster-gke-uri
--gke-uri=my-cluster-gke-uri
Register a GKE cluster referenced from a GKE URI, and install the Connect
agent using service account key file:
$ gcloud alpha container fleet memberships register my-cluster \
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--service-account-key-file=/tmp/keyfile.json
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster first, and install the Connect agent later.
Register a GKE cluster first, and install the Connect agent later.
$ gcloud alpha container fleet memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster
--gke-cluster=my-cluster-region-or-zone/my-cluster
$ gcloud alpha container fleet memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --enable-workload-identity
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --enable-workload-identity
Register a GKE cluster, and install a specific version of the Connect
agent:
Register a GKE cluster, and install a specific version of the Connect
agent:
$ gcloud alpha container fleet memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --version=20220819-00-00 \
--service-account-key-file=/tmp/keyfile.json
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --version=20220819-00-00 \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster and output a manifest that can be used to install the
Connect agent:
Register a GKE cluster and output a manifest that can be used to install
the Connect agent:
$ gcloud alpha container fleet memberships register my-cluster \
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
POSITIONAL ARGUMENTS
Membership resource - The group of arguments defining a membership. The

View file

@ -46,72 +46,73 @@ DESCRIPTION
avaible.
EXAMPLES
Register a non-GKE or GKE On-Prem cluster referenced from a specific kubeconfig file, and install the Connect agent:
Register a non-GKE or GKE On-Prem cluster referenced from a specific
kubeconfig file, and install the Connect agent:
$ gcloud alpha container hub memberships register my-cluster \
--context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--kubeconfig=/home/user/custom_kubeconfig \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster referenced from the default
kubeconfig file, and install the Connect agent:
Register a non-GKE or GKE On-Prem cluster referenced from the default
kubeconfig file, and install the Connect agent:
$ gcloud alpha container hub memberships register my-cluster \
--context=my-cluster-context \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster, and install a specific version
of the Connect agent:
Register a non-GKE or GKE On-Prem cluster, and install a specific version
of the Connect agent:
$ gcloud alpha container hub memberships register my-cluster \
--context=my-cluster-context \
--version=gkeconnect_20190802_02_00 \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--version=gkeconnect_20190802_02_00 \
--service-account-key-file=/tmp/keyfile.json
Register a non-GKE or GKE On-Prem cluster and output a manifest that can be
used to install the Connect agent:
Register a non-GKE or GKE On-Prem cluster and output a manifest that can be
used to install the Connect agent:
$ gcloud alpha container hub memberships register my-cluster \
--context=my-cluster-context \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
--context=my-cluster-context \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster referenced from a GKE URI:
Register a GKE cluster referenced from a GKE URI:
$ gcloud alpha container hub memberships register my-cluster \
--gke-uri=my-cluster-gke-uri
--gke-uri=my-cluster-gke-uri
Register a GKE cluster referenced from a GKE URI, and install the Connect
agent using service account key file:
$ gcloud alpha container hub memberships register my-cluster \
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--service-account-key-file=/tmp/keyfile.json
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster first, and install the Connect agent later.
Register a GKE cluster first, and install the Connect agent later.
$ gcloud alpha container hub memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster
--gke-cluster=my-cluster-region-or-zone/my-cluster
$ gcloud alpha container hub memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --enable-workload-identity
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --enable-workload-identity
Register a GKE cluster, and install a specific version of the Connect
agent:
Register a GKE cluster, and install a specific version of the Connect
agent:
$ gcloud alpha container hub memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --version=20220819-00-00 \
--service-account-key-file=/tmp/keyfile.json
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --version=20220819-00-00 \
--service-account-key-file=/tmp/keyfile.json
Register a GKE cluster and output a manifest that can be used to install the
Connect agent:
Register a GKE cluster and output a manifest that can be used to install
the Connect agent:
$ gcloud alpha container hub memberships register my-cluster \
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
--gke-uri=my-cluster-gke-uri --install-connect-agent \
--manifest-output-file=/tmp/manifest.yaml \
--service-account-key-file=/tmp/keyfile.json
POSITIONAL ARGUMENTS
Membership resource - The group of arguments defining a membership. The

View file

@ -32,7 +32,8 @@ COMMANDS
(ALPHA) List Anthos clusters on VMware.
query-version-config
(ALPHA) Query Anthos on VMware version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on VMware
user cluster.
update
(ALPHA) Update an Anthos cluster on VMware.

View file

@ -1,23 +1,26 @@
NAME
gcloud alpha container vmware clusters query-version-config - query Anthos
on VMware version configuration
gcloud alpha container vmware clusters query-version-config - query
versions for creating or upgrading an Anthos on VMware user cluster
SYNOPSIS
gcloud alpha container vmware clusters query-version-config
(--cluster=CLUSTER
: [--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global"])
: --admin-cluster-membership-location=ADMIN_CLUSTER_MEMBERSHIP_LOCATION; default="global" --admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT])
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Query Anthos on VMware version configuration.
(ALPHA) Query versions for creating or upgrading an Anthos on VMware user
cluster.
EXAMPLES
To query versions for creating a cluster with an admin cluster membership
named my-admin-cluster-membership, run:
named my-admin-cluster-membership managed in project
my-admin-cluster-project run:
$ gcloud alpha container vmware clusters query-version-config \
--admin-cluster-membership=my-admin-cluster-membership
--admin-cluster-membership=my-admin-cluster-membership \
--admin-cluster-membership-project=my-admin-cluster-project
To query versions for upgrading a user cluster named my-user-cluster, run:
@ -25,13 +28,13 @@ EXAMPLES
--cluster=my-user-cluster
REQUIRED FLAGS
Version configuration type
Use cases for querying versions.
Exactly one of these must be specified:
Upgrade configuration
Upgrade an Anthos on VMware user cluster use case.
Cluster resource - cluster to query version configuration This
Cluster resource - Cluster to query versions for upgrade. This
represents a Cloud resource. (NOTE) Some attributes are not given
arguments in this group but can be set in other ways. To set the
project attribute:
@ -41,6 +44,7 @@ REQUIRED FLAGS
▫ set the property core/project. To set the location attribute:
▫ provide the argument --cluster on the command line with a fully
specified name;
▫ provide the argument --location on the command line;
▫ set the property container_vmware/location.
--cluster=CLUSTER
@ -48,17 +52,12 @@ REQUIRED FLAGS
To set the cluster attribute:
◇ provide the argument --cluster on the command line.
Create configuration
Create an Anthos on VMware user cluster use case.
Admin cluster membership resource - membership of the admin cluster.
Membership can be the membership ID or the full resource name. 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 --admin-cluster-membership on the command
line with a fully specified name;
▫ provide the argument --project on the command line;
▫ set the property core/project.
Admin cluster membership resource - Membership of the admin cluster to
query versions for create. Membership can be the membership ID or the
full resource name. The arguments in this group can be used to specify
the attributes of this resource.
--admin-cluster-membership=ADMIN_CLUSTER_MEMBERSHIP
ID of the admin_cluster_membership or fully qualified identifier
@ -78,6 +77,16 @@ REQUIRED FLAGS
◇ provide the argument --admin-cluster-membership-location on
the command line.
--admin-cluster-membership-project=ADMIN_CLUSTER_MEMBERSHIP_PROJECT
Project ID of the Google Cloud project for the
admin_cluster_membership. To set the project attribute:
◇ provide the argument --admin-cluster-membership on the
command line with a fully specified name;
◇ provide the argument --admin-cluster-membership-project on
the command line;
◇ provide the argument --project on the command line;
◇ set the property core/project.
OPTIONAL FLAGS
Location resource - Google Cloud location to query version configuration.
This represents a Cloud resource. (NOTE) Some attributes are not given