Ephemeral Debug Containers # One can use ephemeral debug containers Alternatively to edit in-place to test out configs and env vars use kubectl edit to modify a pod (or Deployment, StatefulSet etc.) YAML to update the command to do nothing so one can kubectl exec into the pod apiVersion: v1 kind: Pod metadata: name: unstable-pod spec: containers: - name: unstable-pod image: foobar command: - sh - -c - "tail -f /dev/null" Ensure liveness and readiness probes are commented out if it depends on ...