|
|
|
|
|
by theden
1812 days ago
|
|
One useful debugging trick I use often is to edit a deployment or pod via `kubectl edit` and update the command to be `tail -f /dev/null` e.g., spec:
containers:
- command:
- bash
- -c
- tail -f /dev/null
(and comment out any liveness or readiness probes)Very useful to then `exec` with a shell in the pod debug things or test out different configs quickly, check the environment etc. |
|