NOMBRE
gdcloud clusters get-credentials: Recupera 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 del extremo adecuadas para habilitar las llamadas a kubectl para un clúster de Kubernetes específico.
EXAMPLES
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.
MARCAS DE GCLOUD A NIVEL GENERAL
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 de descripción general de la referencia de la CLI de gcloud.