NAME
gdcloud clusters get-credentials - Kubernetes クラスタの認証情報を取得します。
SYNOPSIS
gdcloud clusters get-credentials CLUSTER_NAME [flags]
説明
適切な認証情報とエンドポイント情報を使用して kubeconfig ファイルを更新し、特定の Kubernetes クラスタの kubectl 呼び出しを有効にします。
EXAMPLES
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
オプション フラグ
--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.
GDCLOUD 全般のフラグ
これらのフラグは、すべてのコマンドで使用できます: --configuration、--format、--help、--project、--quiet。
詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。