CmdID / kubectl / kubectl config
kubectl config view
Display merged kubeconfig settings or a specified kubeconfig file kubectl reference
9 options Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)--help, -hhelp for view--mergeMerge the full hierarchy of kubeconfig files--minifyRemove all information not used by current-context from the output--output, -oOutput format.--rawDisplay raw byte data and sensitive data--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.