gdcloud clusters get-credentials

NAMA

gdcloud clusters get-credentials - Mengambil kredensial untuk cluster Kubernetes.

SINOPSIS

gdcloud clusters get-credentials CLUSTER_NAME [flags]

DESKRIPSI

Perbarui file kubeconfig dengan informasi endpoint dan kredensial yang sesuai untuk mengaktifkan panggilan kubectl untuk cluster Kubernetes tertentu.

CONTOH

To switch to working on a specific Kubernetes cluster named 'sample', run:

    gdcloud get-credentials sample

FLAG OPSIONAL

      --zone string   Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.

FLAG GDCLOUD WIDE

Flag ini tersedia untuk semua perintah: --configuration, --format, --help, --project, --quiet.

Untuk mengetahui informasi selengkapnya, lihat halaman ringkasan referensi gcloud CLI.