NAME
gdcloud clusters get-credentials – Transfira as credenciais de 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 do ponto final adequadas para ativar as chamadas kubectl para um cluster do 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
MARCAS 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.
MARCAS GDCLOUD WIDE
Estas marcas estão disponíveis para todos os comandos: --configuration, --format, --help, --project e --quiet.
Para mais informações, consulte a página de vista geral da referência da CLI gdcloud.