gdcloud clusters get-credentials

名前

gdcloud clusters get-credentials - Kubernetes クラスタの認証情報を取得します。

概要

gdcloud clusters get-credentials CLUSTER_NAME [flags]

説明

適切な認証情報とエンドポイント情報で kubeconfig ファイルを更新し、特定の Kubernetes クラスタの kubectl 呼び出しを有効にします。

EXAMPLES

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

    gdcloud get-credentials sample

オプションのフラグ

      --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.

GDCLOUD ワイドフラグ

これらのフラグは、すべてのコマンドで使用できます: --configuration--format--help--project--quiet

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。