gdcloud clusters get-credentials

이름

gdcloud clusters get-credentials - Kubernetes 클러스터의 사용자 인증 정보를 가져옵니다.

개요

gdcloud clusters get-credentials CLUSTER_NAME [flags]

설명

특정 Kubernetes 클러스터에 대한 kubectl 호출을 사용 설정하도록 적절한 사용자 인증 정보 및 엔드포인트 정보로 kubeconfig 파일을 업데이트합니다.

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 참조 개요 페이지를 참고하세요.