doctl kubernetes cluster node-pool create <cluster-id|cluster-name> [flags]
c
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.
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 (required)
Default: 0
|
--help
, -h
|
Help for this command |
--label
|
Label 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-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 (required) |
--size
|
Size of the nodes in the node pool (To see possible values: call doctl kubernetes options sizes ) (required)
|
--tag
|
Tag 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. |
--taint
|
Taint 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. |
Command | Description |
---|---|
doctl kubernetes cluster node-pool | Display commands for managing node pools |
Option | Description |
---|---|
--access-token , -t
|
API V2 access token |
--api-url , -u
|
Override default API endpoint |
--config , -c
|
Specify a custom config file
Default:
|
--context
|
Specify a custom authentication context name |
--interactive
|
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false
|
--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
|