kubectl
Working with multiple clusters
- Check the name of the cluster in your kubeconfig file (default path ~/.kube/config)
1- context:
2 cluster: nollhomelab
3 namespace: default
4 user: admin@nollhomelab
5name: admin@nollhomelab
- Switch to the desired context based on the ’name’ field:
kubectl config use-context admin@nollhomelab