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