NOME
gcloud container clusters get-credentials: recupera le credenziali per un cluster Kubernetes.
SINOSSI
gdcloud clusters get-credentials CLUSTER_NAME [flags]
DESCRIZIONE
Aggiorna un file kubeconfig con le credenziali e le informazioni sull'endpoint appropriate per abilitare le chiamate kubectl per un cluster Kubernetes specifico.
ESEMPI
To switch to working on a specific Kubernetes cluster named 'sample', run:
gdcloud get-credentials sample
FLAG FACOLTATIVI
--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
Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.
Per saperne di più, consulta la pagina Panoramica del riferimento di gcloud CLI.