mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Thu Apr 20 10:38:56 UTC 2023
This commit is contained in:
parent
b155beb241
commit
b33a8a3e6e
169 changed files with 3258 additions and 576 deletions
|
|
@ -3,7 +3,8 @@ NAME
|
|||
fleet
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container hub memberships register MEMBERSHIP_NAME
|
||||
gcloud beta container hub memberships register
|
||||
(MEMBERSHIP_NAME : --location=LOCATION)
|
||||
(--gke-cluster=LOCATION/CLUSTER_NAME | --gke-uri=GKE_URI
|
||||
| [--context=CONTEXT : --kubeconfig=KUBECONFIG])
|
||||
[--install-connect-agent] [--internal-ip]
|
||||
|
|
@ -114,9 +115,35 @@ EXAMPLES
|
|||
--service-account-key-file=/tmp/keyfile.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
MEMBERSHIP_NAME
|
||||
The membership name that you choose to uniquely represents the cluster
|
||||
being registered on the fleet.
|
||||
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 for the membership resource, e.g. us-central1. If not
|
||||
specified, defaults to global. Not supported for GKE clusters, whose
|
||||
membership location will be the location of the cluster.
|
||||
|
||||
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.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Cluster identifier.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue