doctl kubernetes cluster node-pool get

Go to Navigation

Usage

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

Aliases

g

Description

This command retrieves information about the specified node pool in the specified cluster, including:

  • The node pool ID
  • The machine size of the nodes (e.g. s-1vcpu-2gb)
  • The number of nodes in the pool
  • Tags applied to the node pool
  • The names of the nodes

Specifying --output=json when calling this command will produce extra information about the individual nodes in the response, such as their IDs, status, creation time, and update time.

Flags

Option Description
--format Columns for output in a comma-separated list. Possible values: ID, Name, Size, Count, Tags, Labels, Taints, Nodes
--help , -h Help for this command
--no-header Return raw data with no headers
Default: false
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