1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 21:20:07 +00:00

gcloud: Thu Jan 19 00:56:33 UTC 2023

This commit is contained in:
Automated 2023-01-19 00:56:33 +00:00
parent 348d9760ee
commit 1248f773ec
1462 changed files with 51835 additions and 5402 deletions

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud alpha container hub config-management apply --config=CONFIG
[--membership=MEMBERSHIP] [--version=VERSION] [GCLOUD_WIDE_FLAG ...]
[--version=VERSION] [--membership=MEMBERSHIP : --location=LOCATION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a user-specified config file to a ConfigManagement Custom
@ -26,12 +27,33 @@ REQUIRED FLAGS
The path to config-management.yaml.
OPTIONAL FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
--version=VERSION
The version of ACM to install.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub config-management delete
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) (DEPRECATED) Remove the Config Management Feature Spec for the
@ -22,8 +22,29 @@ EXAMPLES
--membership=MEMBERSHIP_NAME
FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub config-management fetch-for-apply
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) The output is in the format that is used by the apply subcommand.
@ -16,8 +16,29 @@ EXAMPLES
$ gcloud alpha container hub config-management fetch-for-apply
FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub config-management unmanage
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Remove the Config Management Feature Spec for the given membership.
@ -18,8 +18,29 @@ EXAMPLES
--membership=MEMBERSHIP_NAME
FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub config-management upgrade --version=VERSION
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Upgrade a specified membership to any supported version of the
@ -21,8 +21,29 @@ REQUIRED FLAGS
The version of ACM to change to.
OPTIONAL FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -7,15 +7,15 @@ SYNOPSIS
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List enabled Hub features in a project.
(ALPHA) List enabled fleet features in a project.
EXAMPLES
To list all enabled Hub features in a project, run:
To list all enabled fleet features in a project, run:
$ gcloud alpha container hub features list
FLAGS
Location resource - The location to list Features under.
Location resource - The location to list features under.
'global' is the only supported value. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be

View file

@ -61,8 +61,8 @@ GROUPS
(ALPHA) Manage Multi-cluster Ingress Feature.
memberships
(ALPHA) Manage memberships of all your GKE and other Kubernetes cluster
with fleets.
(ALPHA) Manage memberships of all your GKE and other Kubernetes
clusters with fleets.
mesh
(ALPHA) Manage Service Mesh Feature.
@ -70,6 +70,9 @@ GROUPS
multi-cluster-services
(ALPHA) Manage Multi-cluster Services Feature.
policycontroller
(ALPHA) Manage Policy Controller Feature.
service-directory
(ALPHA) Manage the Service Directory Feature.

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub identity-service apply --config=CONFIG
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Applies the authentication configuration to the Identity Service
@ -26,8 +26,29 @@ REQUIRED FLAGS
The path to the identity-service.yaml config file.
OPTIONAL FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,7 @@ NAME
SYNOPSIS
gcloud alpha container hub identity-service delete
[--membership=MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--membership=MEMBERSHIP : --location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Removes the Identity Service Feature Spec for the given membership.
@ -16,8 +16,29 @@ EXAMPLES
--membership=MEMBERSHIP_NAME
FLAGS
--membership=MEMBERSHIP
Membership name provided during registration.
Membership resource - The group of arguments defining a membership. 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 --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud alpha container hub ingress enable
[--config-membership=CONFIG_MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--config-membership=CONFIG_MEMBERSHIP : --location=LOCATION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command enables Multi-cluster Ingress Feature in a fleet.
@ -16,9 +17,29 @@ EXAMPLES
--config-membership=CONFIG_MEMBERSHIP
FLAGS
--config-membership=CONFIG_MEMBERSHIP
Membership resource representing the cluster which hosts the
MultiClusterIngress and MultiClusterService CustomResourceDefinitions.
Membership resource - The group of arguments defining a membership. 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 --config-membership on the command line with a
fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--config-membership=CONFIG_MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --config-membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --config-membership on the command line with
a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud alpha container hub ingress update
[--config-membership=CONFIG_MEMBERSHIP] [GCLOUD_WIDE_FLAG ...]
[--config-membership=CONFIG_MEMBERSHIP : --location=LOCATION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command updates Multi-cluster Ingress Feature in a fleet.
@ -16,9 +17,29 @@ EXAMPLES
--config-membership=CONFIG_MEMBERSHIP
FLAGS
--config-membership=CONFIG_MEMBERSHIP
Membership resource representing the cluster which hosts the
MultiClusterIngress and MultiClusterService CustomResourceDefinitions.
Membership resource - The group of arguments defining a membership. 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 --config-membership on the command line with a
fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--config-membership=CONFIG_MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument --config-membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership. To set the location attribute:
▸ provide the argument --config-membership on the command line with
a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -6,12 +6,12 @@ SYNOPSIS
(MEMBERSHIP : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe a membership in Fleet.
(ALPHA) Describe a membership in a fleet.
EXAMPLES
First retrieve the ID of the membership using the command below. The output
of this command lists all the fleet's members, with their unique IDs in the
Names column:
NAME column:
$ gcloud alpha container hub memberships list

View file

@ -3,31 +3,64 @@ NAME
for a fleet-registered cluster to be used in Connect Gateway
SYNOPSIS
gcloud alpha container hub memberships get-credentials MEMBERSHIP
[GCLOUD_WIDE_FLAG ...]
gcloud alpha container hub memberships get-credentials
(MEMBERSHIP_NAME : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha container hub memberships get-credentials updates the
kubeconfig file with the appropriate credentials and endpoint information
to send kubectl commands to a fleet-registered and connected cluster
through Connect Gateway Service.
to send kubectl commands to a fleet-registered and -connected cluster
through the Connect Gateway service.
It takes a project, passed through by set defaults or flags. By default,
credentials are written to $HOME/.kube/config. You can provide an alternate
path by setting the KUBECONFIG environment variable. If KUBECONFIG contains
multiple paths, the first one is used.
Upon success, this command will switch current context to the target
cluster, when working with multiple clusters.
Upon success, this command will switch the current context to the target
cluster if other contexts are already present in the kubeconfig file.
EXAMPLES
Get gateway kubeconfig for a registered cluster:
Get the Gateway kubeconfig for a globally registered cluster:
$ gcloud alpha container hub memberships get-credentials my-cluster
$ gcloud alpha container hub memberships get-credentials \
my-cluster --location=global
Get the Gateway kubeconfig for a cluster registered in us-central1:
$ gcloud alpha container hub memberships get-credentials \
my-cluster --location=us-central1
POSITIONAL ARGUMENTS
MEMBERSHIP
The membership name used to locate a cluster in your project.
Membership resource - The group of arguments defining a membership. 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 MEMBERSHIP_NAME 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.
MEMBERSHIP_NAME
ID of the membership or fully qualified identifier for the
membership. To set the membership attribute:
▸ provide the argument MEMBERSHIP_NAME on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location of the membership resource, e.g. us-central1. If not
specified, defaults to global.
To set the location attribute:
▸ provide the argument MEMBERSHIP_NAME on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -1,12 +1,13 @@
NAME
gcloud alpha container hub memberships - manage memberships of all your GKE
and other Kubernetes cluster with fleets
and other Kubernetes clusters with fleets
SYNOPSIS
gcloud alpha container hub memberships COMMAND [GCLOUD_WIDE_FLAG ...]
gcloud alpha container hub memberships GROUP | COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage memberships of all your GKE and other Kubernetes cluster
(ALPHA) Manage memberships of all your GKE and other Kubernetes clusters
with fleets.
GCLOUD WIDE FLAGS
@ -37,7 +38,7 @@ COMMANDS
(ALPHA) Register a cluster with a fleet.
unregister
(ALPHA) Unregister a cluster from Fleet.
(ALPHA) Unregister a cluster from a fleet.
update
(ALPHA) Update a membership.

View file

@ -102,7 +102,7 @@ EXAMPLES
$ gcloud alpha container hub memberships register my-cluster \
--gke-cluster=my-cluster-region-or-zone/my-cluster \
--install-connect-agent --version=gkeconnect_20190802_02_00 \
--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

View file

@ -1,6 +1,6 @@
NAME
gcloud alpha container hub memberships unregister - unregister a cluster
from Fleet
from a fleet
SYNOPSIS
gcloud alpha container hub memberships unregister

View file

@ -8,12 +8,12 @@ SYNOPSIS
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update an existing membership in Fleet.
(ALPHA) Update an existing membership in a fleet.
EXAMPLES
First retrieve the ID of the membership using the command below. The output
of this command lists all the fleet's members, with their unique IDs in the
Names column:
NAME column:
$ gcloud alpha container hub memberships list

View file

@ -5,18 +5,19 @@ NAME
SYNOPSIS
gcloud alpha container hub mesh update
(--control-plane=CONTROL_PLANE --management=MANAGEMENT)
[--membership=MEMBERSHIP | --memberships=MEMBERSHIPS]
[--membership=MEMBERSHIP
| [--memberships=[MEMBERSHIPS,...] : --location=LOCATION]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update the Service Mesh Feature Spec of a Membership.
(ALPHA) Update the Service Mesh Feature Spec of a membership.
EXAMPLES
To update the control plane management of comma separated Memberships like
membership1,membership2, run:
To update the control plane management of comma separated memberships like
MEMBERSHIP1,MEMBERSHIP2, run:
$ gcloud alpha container hub mesh update \
--memberships=membership1,membership2 \
--memberships=MEMBERSHIP1,MEMBERSHIP2 \
--control-plane=CONTROL_PLANE
REQUIRED FLAGS
@ -39,9 +40,30 @@ OPTIONAL FLAGS
The --membership flag is now deprecated. Please use --memberships
instead.
--memberships=MEMBERSHIPS
Membership names to update, separated by commas if multiple are
supplied.
Membership resource - The group of arguments defining one or more
memberships. 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 --memberships on the command line with a fully
specified name;
▸ provide the argument --project on the command line;
▸ set the property core/project.
--memberships=[MEMBERSHIPS,...]
IDs of the memberships or fully qualified identifiers for the
memberships. To set the memberships attribute:
▫ provide the argument --memberships on the command line.
This flag argument must be specified if any of the other arguments
in this group are specified.
--location=LOCATION
Location for the memberships. To set the location attribute:
▫ provide the argument --memberships on the command line with a
fully specified name;
▫ provide the argument --location on the command line;
▫ set the property gkehub/location.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -0,0 +1,22 @@
NAME
gcloud alpha container hub policycontroller - manage Policy Controller
Feature
SYNOPSIS
gcloud alpha container hub policycontroller GROUP | COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Policy Controller Feature.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
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.