kubectl 1.37 · Clusters and contexts

Switch cluster

Make another context the default.

kubectl config use-context my-cluster

Official kubectl 1.37 documentation

More clusters and contexts commands

All clusters and contexts commands · kubectl 1.37 cheatsheet

Was this page helpful?