kubectl config view

Display merged kubeconfig settings or a specified kubeconfig file


--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats
-o, --output <Output Format>Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file
--template <arg>Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]
--flattenFlatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files)
--mergeMerge the full hierarchy of kubeconfig files
--minifyRemove all information not used by current-context from the output
--rawDisplay raw byte data
--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format