doctl kubernetes cluster

Go to Navigation

Usage

doctl kubernetes cluster [flags]

Aliases

clusters, c

Description

The commands under doctl kubernetes cluster are for the management of Kubernetes clusters.

A typical workflow is to use doctl kubernetes cluster create to create the cluster on DigitalOcean’s infrastructure, then call doctl kubernetes cluster kubeconfig to configure kubectl to connect to the cluster. You are then able to use kubectl to create and manage workloads.

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctl kubernetesDisplays commands to manage Kubernetes clusters and configurations
doctl kubernetes cluster createCreate a Kubernetes cluster
doctl kubernetes cluster deleteDelete Kubernetes clusters
doctl kubernetes cluster delete-selectiveDelete a Kubernetes cluster and selectively delete resources associated with it
doctl kubernetes cluster getRetrieve details about a Kubernetes cluster
doctl kubernetes cluster get-upgradesRetrieve a list of available Kubernetes version upgrades
doctl kubernetes cluster kubeconfigDisplay commands for managing your local kubeconfig
doctl kubernetes cluster listRetrieve the list of Kubernetes clusters for your account
doctl kubernetes cluster list-associated-resourcesRetrieve DigitalOcean resources associated with a Kubernetes cluster
doctl kubernetes cluster node-poolDisplay commands for managing node pools
doctl kubernetes cluster registryDisplay commands for integrating clusters with docr
doctl kubernetes cluster updateUpdate a Kubernetes cluster's configuration
doctl kubernetes cluster upgradeUpgrades a cluster to a new Kubernetes version

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false