mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Jun 8 09:13:38 UTC 2022
This commit is contained in:
parent
82063cbb03
commit
28d031b3c1
240 changed files with 3156 additions and 1115 deletions
|
|
@ -59,7 +59,7 @@ GROUPS
|
|||
|
||||
memberships
|
||||
Manage memberships of all your GKE and other Kubernetes cluster with
|
||||
Fleet.
|
||||
fleets.
|
||||
|
||||
mesh
|
||||
Manage Service Mesh Feature.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ EXAMPLES
|
|||
To apply an Identity Service configuration for a membership, run:
|
||||
|
||||
$ gcloud container fleet identity-service apply \
|
||||
--membership=CLUSTER_NAME \
|
||||
--membership=MEMBERSHIP_NAME \
|
||||
--config=/path/to/identity-service.yaml
|
||||
|
||||
REQUIRED FLAGS
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ EXAMPLES
|
|||
To delete an Identity Service configuration for a membership, run:
|
||||
|
||||
$ gcloud container fleet identity-service delete \
|
||||
--membership=CLUSTER_NAME
|
||||
--membership=MEMBERSHIP_NAME
|
||||
|
||||
FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ SYNOPSIS
|
|||
(MEMBERSHIP : --location=LOCATION) [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command deletes the Fleet membership resource corresponding to the
|
||||
This command deletes the Fleet Membership resource corresponding to the
|
||||
cluster.
|
||||
|
||||
This command is intended to delete stale Fleet Membership resources as
|
||||
|
|
@ -22,7 +22,7 @@ EXAMPLES
|
|||
|
||||
$ gcloud container fleet memberships list
|
||||
|
||||
Delete a membership from Fleet:
|
||||
Delete a membership from the active project's fleet:
|
||||
|
||||
$ gcloud container fleet memberships delete MEMBERSHIP_NAME
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud container fleet memberships get-credentials - fetch credentials for
|
||||
a Fleet-registered cluster to be used in Connect Gateway
|
||||
a fleet-registered cluster to be used in Connect Gateway
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet memberships get-credentials MEMBERSHIP
|
||||
|
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||
DESCRIPTION
|
||||
gcloud container fleet 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
|
||||
kubectl commands to a fleet-registered and connected cluster through
|
||||
Connect Gateway Service.
|
||||
|
||||
It takes a project, passed through by set defaults or flags. By default,
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
NAME
|
||||
gcloud container fleet memberships - manage memberships of all your GKE and
|
||||
other Kubernetes cluster with Fleet
|
||||
other Kubernetes cluster with fleets
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet memberships COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage memberships of all your GKE and other Kubernetes cluster with Fleet.
|
||||
Manage memberships of all your GKE and other Kubernetes cluster with
|
||||
fleets.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
|
@ -23,14 +24,14 @@ COMMANDS
|
|||
Describe a membership.
|
||||
|
||||
get-credentials
|
||||
Fetch credentials for a Fleet-registered cluster to be used in Connect
|
||||
Fetch credentials for a fleet-registered cluster to be used in Connect
|
||||
Gateway.
|
||||
|
||||
list
|
||||
List memberships.
|
||||
|
||||
register
|
||||
Register a cluster with Fleet.
|
||||
Register a cluster with a fleet.
|
||||
|
||||
unregister
|
||||
Unregister a cluster from Fleet.
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List memberships in Fleet.
|
||||
List memberships in a fleet.
|
||||
|
||||
EXAMPLES
|
||||
List memberships in Fleet:
|
||||
List memberships in the active project's fleet:
|
||||
|
||||
$ gcloud container fleet memberships list
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
NAME
|
||||
gcloud container fleet memberships register - register a cluster with Fleet
|
||||
gcloud container fleet memberships register - register a cluster with a
|
||||
fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet memberships register CLUSTER_NAME
|
||||
gcloud container fleet memberships register MEMBERSHIP_NAME
|
||||
(--gke-cluster=LOCATION/CLUSTER_NAME | --gke-uri=GKE_URI
|
||||
| [--context=CONTEXT : --kubeconfig=KUBECONFIG])
|
||||
(--service-account-key-file=SERVICE_ACCOUNT_KEY_FILE
|
||||
|
|
@ -12,15 +13,15 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command registers a cluster with the Fleet by:
|
||||
This command registers a cluster with the fleet by:
|
||||
|
||||
1. Creating a Fleet Membership resource corresponding to the cluster.
|
||||
2. Adding in-cluster Kubernetes Resources that make the cluster exclusive
|
||||
to one Fleet.
|
||||
to one fleet.
|
||||
3. Installing the Connect Agent into this cluster.
|
||||
|
||||
A successful registration implies that the cluster is now exclusive to a
|
||||
single Fleet.
|
||||
single fleet.
|
||||
|
||||
For more information about Connect Agent, go to:
|
||||
https://cloud.google.com/anthos/multicluster-management/connect/overview/
|
||||
|
|
@ -39,9 +40,9 @@ DESCRIPTION
|
|||
If the cluster is already registered to another Fleet, the registration is
|
||||
not successful.
|
||||
|
||||
Rerunning this command against the same cluster with the same CLUSTER_NAME
|
||||
and target GKEFleet is successful and upgrades the Connect Agent if a new
|
||||
agent is available.
|
||||
Rerunning this command against the same cluster with the same
|
||||
MEMBERSHIP_NAME and target GKEFleet is successful and upgrades the Connect
|
||||
Agent if a new agent is available.
|
||||
|
||||
EXAMPLES
|
||||
Register a non-GKE or GKE On-Prem cluster referenced from a specific
|
||||
|
|
@ -116,9 +117,9 @@ EXAMPLES
|
|||
--service-account-key-file=/tmp/keyfile.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CLUSTER_NAME
|
||||
MEMBERSHIP_NAME
|
||||
The membership name that you choose to uniquely represents the cluster
|
||||
being registered on the Fleet.
|
||||
being registered on the fleet.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Cluster identifier.
|
||||
|
|
@ -170,7 +171,7 @@ REQUIRED FLAGS
|
|||
Workload Identity
|
||||
|
||||
--enable-workload-identity
|
||||
Enable Workload Identity when registering the cluster with Fleet.
|
||||
Enable Workload Identity when registering the cluster with a fleet.
|
||||
Ensure that GKE Workload Identity is enabled on your GKE cluster,
|
||||
it is a requirement for using Workload Identity with memberships.
|
||||
Refer to the Registering a cluster using Workload Identity section
|
||||
|
|
|
|||
|
|
@ -3,18 +3,18 @@ NAME
|
|||
Fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud container fleet memberships unregister CLUSTER_NAME
|
||||
gcloud container fleet memberships unregister MEMBERSHIP_NAME
|
||||
(--gke-cluster=LOCATION/CLUSTER_NAME | --gke-uri=GKE_URI
|
||||
| [--context=CONTEXT : --kubeconfig=KUBECONFIG])
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command unregisters a cluster with the Fleet by:
|
||||
This command unregisters a cluster with the fleet by:
|
||||
|
||||
1. Deleting the Fleet Membership resource for this cluster (a.k.a
|
||||
`gcloud container fleet memberships delete`).
|
||||
2. Removing the corresponding in-cluster Kubernetes Resources that make the
|
||||
cluster exclusive to one Fleet (a.k.a `kubectl delete memberships
|
||||
cluster exclusive to one fleet (a.k.a `kubectl delete memberships
|
||||
membership`).
|
||||
3. Uninstalling the Connect Agent from this cluster (a.k.a
|
||||
`kubectl delete on the gke-connect namespace`).
|
||||
|
|
@ -58,7 +58,7 @@ EXAMPLES
|
|||
--gke-cluster=my-cluster-region-or-zone/my-cluster
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CLUSTER_NAME
|
||||
MEMBERSHIP_NAME
|
||||
The membership name that corresponds to the cluster being unregistered.
|
||||
To get list of all the memberships on the Fleet, consider using the
|
||||
command: gcloud container fleet memberships list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue