gdcloud clusters get-credentials

NOME

gcloud container clusters get-credentials: recupera le credenziali per un cluster Kubernetes.

SYNOPSIS

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 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

FLAG FACOLTATIVI

      --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.

FLAG A LIVELLO DI GDCLOUD

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.