Interview Prep/Kubernetes/Rapid-Fire Commands

How do you check the current context, switch namespace and list contexts?

BeginnerProductionRapid-Fire Commands
Answer
kubectl config current-context
kubectl config set-context --current --namespace=shop
kubectl config get-contexts
All Kubernetes questions

More on Rapid-Fire Commands