kubectl 1.37 · Clusters and contexts

Show the current context

Print which cluster kubectl is talking to.

kubectl config current-context

Official kubectl 1.37 documentation

More clusters and contexts commands

All clusters and contexts commands · kubectl 1.37 cheatsheet

Was this page helpful?