NOMBRE
gdcloud clusters get-credentials: obtiene las credenciales de un clúster de Kubernetes.
SYNOPSIS
gdcloud clusters get-credentials CLUSTER_NAME [flags]
DESCRIPCIÓN
Actualiza un archivo kubeconfig con las credenciales y la información de endpoint adecuadas para habilitar las llamadas kubectl de un clúster de Kubernetes específico.
EJEMPLOS
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 OPCIONALES
--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án disponibles para todos los comandos: --configuration, --format, --help, --project y --quiet.
Para obtener más información, consulta la página Información general sobre la referencia de la CLI de gdcloud.