commands.sh

kubectl cluster-info

all

Display endpoint information about the Kubernetes master and services in the cluster.

More info →

Examples (4)

Show basic cluster information

Dump current cluster state to `stdout` (for debugging)

Dump cluster state to a directory

kubectl cluster-info dump --output-directory path/to/directory

Use a specific kubeconfig context

kubectl cluster-info --context context_name
made by @shridhargupta | data from tldr-pages