NAME
gdcloud clusters get-credentials - Fetch credentials for a Kubernetes cluster.
SYNOPSIS
gdcloud clusters get-credentials CLUSTER_NAME [flags]
DESCRIPTION
Update a kubeconfig file with appropriate credentials and endpoint information to enable kubectl calls for a specific Kubernetes cluster.
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
OPTIONAL FLAGS
--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
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
For more information, see the gdcloud CLI reference overview page.