1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +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

@ -45,72 +45,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 beta 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 beta 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 beta 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 beta 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 beta 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 beta 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 beta 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 beta 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 beta 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 beta 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_NAME