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)
kubectl cluster-info dumpDump cluster state to a directory
kubectl cluster-info dump --output-directory path/to/directoryUse a specific kubeconfig context
kubectl cluster-info --context context_namemade by @shridhargupta | data from tldr-pages