gcloud-*: add pages (#11625)

* gcloud-*: add pages

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
Farhad Koushan
2024-01-08 05:59:32 -08:00
committed by GitHub
parent f5484b3b71
commit 0ce0a6c094
11 changed files with 239 additions and 4 deletions

View File

@@ -1,13 +1,14 @@
# gcloud
> The official CLI tool for Google Cloud Platform.
> Note: `gcloud` subcommands have their own usage documentation.
> More information: <https://cloud.google.com/sdk/gcloud>.
- List all properties in one's active configuration:
`gcloud config list`
- Log in to Google account:
- Login to a Google account:
`gcloud auth login`
@@ -19,15 +20,15 @@
`gcloud compute ssh {{user}}@{{instance}}`
- Display all Google Compute Engine instances in a project. Instances from all zones are listed by default:
- Display all Google Compute Engine instances in a project (by default instances from all zones are listed):
`gcloud compute instances list`
- Update a kubeconfig file with the appropriate credentials to point kubectl to a specific cluster in Google Kubernetes Engine:
- Update a kubeconfig file with the appropriate credentials to point `kubectl` to a specific cluster in Google Kubernetes Engine (GKE):
`gcloud container clusters get-credentials {{cluster_name}}`
- Update all gcloud CLI components:
- Update all `gcloud` components:
`gcloud components update`