doctl kubernetes cluster update

Go to Navigation

Usage

doctl kubernetes cluster update <id|name> [flags]

Aliases

u

Description

This command updates the specified configuration values for the specified Kubernetes cluster. The cluster must be referred to by its name or ID, which you can retrieve by calling:

doctl kubernetes cluster list

Flags

OptionDescription
--auto-upgradeA boolean flag indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window (default false). To enable automatic upgrade, supply –auto-upgrade(=true).
Default: false
--cluster-nameSpecifies a new cluster name
--help, -hHelp for this command
--maintenance-windowSets the beginning of the four hour maintenance window for the cluster. Syntax is in the format: ‘day=HH:MM’, where time is in UTC. Day can be: any, monday, tuesday, wednesday, thursday, friday, saturday, sunday.
Default: any=00:00
--set-current-contextBoolean specifying whether to set the current kubectl context to that of the new cluster
Default: true
--surge-upgradeBoolean specifying whether to enable surge-upgrade for the cluster
Default: false
--tagA comma-separated list of tags to apply to the cluster. Existing user-provided tags will be removed from the cluster if they are not specified.
--update-kubeconfigBoolean specifying whether to update the cluster in your kubeconfig
Default: true
CommandDescription
doctl kubernetes clusterDisplay commands for managing Kubernetes clusters

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