CmdID / kubectl / kubectl cluster-info
kubectl cluster-info dump
Dump relevant information for debugging and diagnosis kubectl reference
9 options Its page in the kubectl reference
Options
--all-namespaces, -AIf true, dump all namespaces.--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--help, -hhelp for dump--namespacesA comma separated list of namespaces to dump.--output, -oOutput format.--output-directoryWhere to output the files.--pod-running-timeoutThe length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.