We use kubectl to do various diagnostic / troubleshooting tasks but sometimes the output looks confusing to the uneducated developer.
- Why are the listed nodes inconsistent?
- Why are the k8s versions inconsistent?
- Why does “kubectl get pods” seem to be incomplete or is it actually complete?
- Solve these issues
- Write and document simple scripts to do these basic diagnostic tasks