kubectl-cluster-info
displays the addresses of the control plane and cluster services
TLDR
Display cluster info
$ kubectl cluster-info
Show detailed cluster info$ kubectl cluster-info dump
Dump cluster info to directory$ kubectl cluster-info dump --output-directory=[path]
Dump specific namespaces$ kubectl cluster-info dump --namespaces=[default],[kube-system]
SYNOPSIS
kubectl cluster-info [subcommand] [options]
DESCRIPTION
kubectl cluster-info displays the addresses of the control plane and cluster services. The dump subcommand collects cluster state information for debugging, including logs from all pods and cluster metadata.
PARAMETERS
dump
Dump cluster state for debugging.--output-directory path
Directory to dump files.--namespaces list
Namespaces to include in dump.--all-namespaces
Include all namespaces.
SEE ALSO
kubectl(1), kubectl-get(1)
