Skip to main content

Context - Kubectl Get

CURRENT NAME CLUSTER AUTHINFO minikube minikube minikube * prod-dallas prod-cluster-dallas admin-prod staging-eu staging-cluster-eu deployer legacy-bare-metal legacy-cluster old-admin The asterisk told him he was currently pointing at . His heart rate doubled. That was production . Live traffic. Real money. Customers ordering cat-shaped planters at 2 AM.

Vlad opened his terminal, cracked his knuckles, and typed the command every beginner learns first: kubectl get context

The rollout succeeded. No downtime. No angry alerts. CURRENT NAME CLUSTER AUTHINFO minikube minikube minikube *

He stared at the screen. One wrong kubectl apply and he could charge a cactus to someone’s credit card. Live traffic

It was Vlad’s first day on the job as a platform engineer at a chaotic startup called Nebulous Systems. The previous “kube-whisperer” had left behind a labyrinth of Kubernetes clusters: staging, prod, legacy, and one ominously named “do-not-touch.”

kubectl config get-contexts The output appeared like a cryptic map:

kubectl get context But it didn’t work. The terminal spat back: error: unknown command "get context" - did you mean "config get-contexts"? Right. He’d misremembered. He corrected it: