1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gcloud-container.md
Farhad Koushan 0ce0a6c094
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>
2024-01-08 19:29:32 +05:30

25 lines
668 B
Markdown

# gcloud container
> Manage containerized applications on Kubernetes and clusters.
> See also: `gcloud`.
> More information: <https://cloud.google.com/sdk/gcloud/reference/container>.
- Register `gcloud` as a Docker credential helper:
`gcloud auth configure-docker`
- Create a cluster to run GKE containers:
`gcloud container clusters create {{cluster_name}}`
- List clusters for running GKE containers:
`gcloud container clusters list`
- Update kubeconfig to get `kubectl` to use a GKE cluster:
`gcloud container clusters get-credentials {{cluster_name}}`
- List tag and digest metadata for a container image:
`gcloud container images list-tags {{image}}`