NOM
gdcloud clusters get-credentials : récupère les identifiants d'un cluster Kubernetes.
SYNOPSIS
gdcloud clusters get-credentials CLUSTER_NAME [flags]
DESCRIPTION
Mettez à jour un fichier kubeconfig avec les identifiants et les informations sur les points de terminaison appropriés pour activer les appels kubectl pour un cluster Kubernetes spécifique.
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
FLAGS FACULTATIFS
--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.
FLAGS GDCLOUD GÉNÉRAUX
Ces flags sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Pour en savoir plus, consultez la page de présentation de la documentation de référence de la gdcloud CLI.