snippetbashTip
gcloud container — Manage containerized applications on Kubernetes and clusters. See also: `gcloud`. More information:
Viewed 0 times
commandandcontainerizedclimanagekubernetesgcloud containerapplications
Problem
How to use the
gcloud container command: Manage containerized applications on Kubernetes and clusters. See also: gcloud. More information: <https://docs.cloud.google.com/sdk/gcloud/reference/container>.Solution
gcloud container — Manage containerized applications on Kubernetes and clusters. See also: gcloud. More information: <https://docs.cloud.google.com/sdk/gcloud/reference/container>.Register
gcloud as a Docker credential helper:gcloud auth configure-dockerCreate a cluster to run GKE containers:
gcloud container clusters create {{cluster_name}}List clusters for running GKE containers:
gcloud container clusters listUpdate 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}}Describe an existing cluster for running containers:
gcloud container clusters describe {{cluster_name}}Code Snippets
Register `gcloud` as a Docker credential helper
gcloud auth configure-dockerCreate a cluster to run GKE containers
gcloud container clusters create {{cluster_name}}List clusters for running GKE containers
gcloud container clusters listUpdate 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}}Context
tldr-pages: common/gcloud container
Revisions (0)
No revisions yet.