doctl kubernetes cluster node-pool update

Go to Navigation

Usage

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

Aliases

u

Description

This command updates the specified node pool in the specified cluster. You can update any value for which there is a flag.

Flags

Option Description
--auto-scale Boolean indicating whether to enable auto-scaling on the node pool
Default: false
--count The size of (number of nodes in) the node pool
Default: 0
--help , -h Help for this command
--label Label in key=value notation to apply to the node pool, repeat to add multiple labels at once. Omitted labels will be removed from the node pool if the flag is specified.
--max-nodes Maximum number of nodes in the node pool when autoscaling is enabled
Default: 0
--min-nodes Minimum number of nodes in the node pool when autoscaling is enabled
Default: 0
--name Name of the node pool
--tag Tag to apply to the node pool; you can supply multiple --tag arguments to specify additional tags. Omitted tags will be removed from the node pool if the flag is specified.
--taint Taint in key[=value:]effect notation to apply to the node pool, repeat to add multiple taints at once. Omitted taints will be removed from the node pool if the flag is specified.
Command Description
doctl kubernetes cluster node-pool Display commands for managing node pools

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify 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
--context Specify a custom authentication context name
--output, -o Desired output format [text|json]
Default: text
--trace Show a log of network activity while performing a command
Default: false
--verbose, -v Enable verbose output
Default: false