gdcloud clusters get-credentials

NAMA

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

SYNOPSIS

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 clusters get-credentials sample

To switch to working on a standard cluster named 'sample' in project 'foo', run:

    gdcloud clusters get-credentials sample --standard --project=foo

FLAG OPSIONAL

      --standard      If set, the standard cluster type is used.
      --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.