Created
May 8, 2020 14:15
-
-
Save jayunit100/ccbcbee43dd6b2740e9ce7b4bf9974c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| for c in `./tkg get clusters | cut -d'|' -f 2 | grep -v '+' | grep -v NAME` ; do | |
| tkg get credentials $c ; | |
| kubectl config use-context $c-admin@$c ; kubectl cluster-info ; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment