Skip to main content

dtctl kubernetes list

Usage​

dtctl kubernetes list

Aliases​

l

Description​

Retrieve all Kubernetes clusters in the active project, with their version, status, and node count.

Example​

dtctl kubernetes list

Response​

In text output (the default), this command returns the following columns: ID, Name, Status, Version, Worker, Network.

Pass --output json to get the full response object instead.

CommandDescription
dtctl kubernetes showShow a cluster
dtctl kubernetes createCreate a Kubernetes cluster
dtctl kubernetes update-node-groupUpdate a node group
dtctl kubernetes deleteDelete a cluster
dtctl kubernetes delete-node-from-node-groupDelete a node from a group
dtctl kubernetes delete-node-groupDelete a node group
dtctl kubernetes add-node-groupAdd a node group
dtctl kubernetes generate-kubeconfigDownload a cluster's kubeconfig
dtctl kubernetes node-groupsList a cluster's node groups
dtctl kubernetes resizeResize a node group
dtctl kubernetes upgradeUpgrade a cluster
dtctl kubernetes versionsList Kubernetes versions

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text