okteto-debugging
Okteto Environment Debugger
This skill triages broken Okteto environments. When a service is misbehaving, run through the triage algorithm below, apply the matching playbook, and emit a structured diagnosis. Do not guess — always let the command output drive the conclusion.
Diagnostics are read-only: kubectl get, kubectl describe, kubectl logs, and kubectl get events are fine here. Never mutate the cluster with raw kubectl/helm — fixes go through okteto build and okteto deploy (see the okteto skill for lifecycle operations, worktree isolation, and teardown rules).
Triage algorithm
Run these steps in order. Stop at the first step that identifies the failure.
Step 1: Verify connectivity and pin the namespace
okteto context show
If this fails, the user is disconnected from the cluster. Stop and help them reconnect (okteto context use <url>) before proceeding.
The JSON output includes the active namespace. Capture it — every command below targets it explicitly as $ns: