kubectl config view --minify
Jump to navigation
Jump to search
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: