gdcloud clusters get-credentials

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 em um cluster específico do Kubernetes.

EXEMPLOS

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

    gdcloud get-credentials sample

FLAGS OPCIONAIS

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

SINALIZAÇÕES GERAIS DO 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.