NOME
gdcloud clusters get-credentials: busca credenciais para um cluster do Kubernetes.
SINOPSE
gdcloud clusters get-credentials CLUSTER_NAME [flags]
DESCRIÇÃO
Atualize um arquivo kubeconfig com as credenciais e informações de endpoint adequadas para ativar as chamadas kubectl de um cluster específico do Kubernetes.
EXEMPLOS
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
FLAGS OPCIONAIS
--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.
FLAGS GERAIS DA GDCLOUD
Estas flags estão disponíveis para todos os comandos: --configuration, --format, --help, --project, --quiet.
Para mais informações, consulte a página Visão geral da referência da CLI gdcloud.