kubectl config view
Display merged kubeconfig settings or a specified kubeconfig file
Options
Name | Description |
---|---|
--allow-missing-template-keys | If 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] |
--flatten | Flatten the resulting kubeconfig file into self-contained output (useful for creating portable kubeconfig files) |
--merge | Merge the full hierarchy of kubeconfig files |
--minify | Remove all information not used by current-context from the output |
--raw | Display raw byte data |
--show-managed-fields | If true, keep the managedFields when printing objects in JSON or YAML format |