Difference between revisions of "Kubectl config view --minify"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[kubectl config view --minify --output]] '[[jsonpath]]={..namespace}@{.current-context}' 2> /dev/null | [[kubectl config view --minify --output]] '[[jsonpath]]={..namespace}@{.current-context}' 2> /dev/null | ||
+ | |||
+ | k8s_info() { | ||
+ | kubectl config view --minify --output 'jsonpath={..namespace}@{.current-context}' 2> /dev/null | ||
+ | } | ||
+ | |||
+ | |||
== See also == | == See also == |
Revision as of 21:18, 28 September 2022
kubectl config view --minify --output 'jsonpath={..namespace}@{.current-context}' 2> /dev/null
k8s_info() { kubectl config view --minify --output 'jsonpath={..namespace}@{.current-context}' 2> /dev/null }
See also
Advertising: