kubectl config get-contexts [Context]

Displays one or many contexts from the kubeconfig file

Arguments

NameDescription
Context

Options

NameDescription
-o, --output <Output Format>Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file
--no-headers <arg>When using the default or custom-column output format, don't print headers (default print headers)