Kubectl Get Context 'link' Review
kubectl config use-context prod-dallas But instead of applying immediately, he paused. He wrote a tiny bash alias:
Carefully, he switched to the staging environment: kubectl get context
alias k-get-ctx='kubectl config get-contexts' Then, just before hitting kubectl apply -f payment-fix.yaml , he ran it again. The asterisk still shone beside prod-dallas . Good. No last-minute surprises. cracked his knuckles
Vlad opened his terminal, cracked his knuckles, and typed the command every beginner learns first: kubectl get context