doctl kubernetes cluster node-pool create

Go to Navigation

Usage

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

Aliases

c

Description

This command creates a new node pool for the specified cluster. At a minimum, you’ll need to specify the size of the nodes, and the number of nodes to place in the pool. You can also specify that you’d like to enable autoscaling and set minimum and maximum node poll sizes.

Flags

OptionDescription
--auto-scaleBoolean indicating whether to enable auto-scaling on the node pool
Default: false
--countThe size of (number of nodes in) the node pool (required)
Default: 0
--help, -hHelp for this command
--labelLabel in key=value notation to apply to the node pool; repeat to specify additional labels. An existing label is removed from the node pool if it is not specified by any flag.
--max-nodesMaximum number of nodes in the node pool when autoscaling is enabled
Default: 0
--min-nodesMinimum number of nodes in the node pool when autoscaling is enabled
Default: 0
--nameName of the node pool (required)
--sizeSize of the nodes in the node pool (To see possible values: call doctl kubernetes options sizes) (required)
--tagTag to apply to the node pool; repeat to specify additional tags. An existing tag is removed from the node pool if it is not specified by any flag.
--taintTaint in key[=value:]effect notation to apply to the node pool; repeat to specify additional taints. Set to the empty string "" to clear all taints. An existing taint is removed from the node pool if it is not specified by any flag.
CommandDescription
doctl kubernetes cluster node-poolDisplay commands for managing node pools

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