Last active
September 18, 2022 09:47
-
-
Save efossas/1e7e86b11c23547abbdbad6e9411e535 to your computer and use it in GitHub Desktop.
Kubectl Print Context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl_print_context CONTEXT_NAME | |
kubectl_print_context() { | |
kubectl config view --minify --flatten --context="$1"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment