He typed:

CURRENT NAME CLUSTER NAMESPACE prod-us-east prod-cluster payment-system * staging-us-west staging-cluster payment-system dev-local dev-cluster default He was looking at . The alert was from production .

Alex rubbed his eyes and stared at the terminal. The on-call alert was screaming:

He closed his laptop, leaned back, and stared at the ceiling.

He looked at his terminal prompt. His shell was configured to show the current Kubernetes context in green. But today, it was… red .

Kubectl Switch Contexts Better Today

He typed:

CURRENT NAME CLUSTER NAMESPACE prod-us-east prod-cluster payment-system * staging-us-west staging-cluster payment-system dev-local dev-cluster default He was looking at . The alert was from production . kubectl switch contexts

Alex rubbed his eyes and stared at the terminal. The on-call alert was screaming: it was… red .

He closed his laptop, leaned back, and stared at the ceiling. kubectl switch contexts

He looked at his terminal prompt. His shell was configured to show the current Kubernetes context in green. But today, it was… red .