Re:Tips for Debugging Kubernetes CrashLoopBackOff
by koblinski on Tuesday January 26, 2021 @11:57AM
(#25918165)
"Always remember to write down the steps taken to get the container working."
Hahaha, I want to highlight this, underscore it, and blow it up. Seriously. Writing down your debugging steps is crucial but it's not the first thing you think to do and you kick yourself later for not doing it.
I was a heavy user of k8s at a previous company. They had a very talented and decently sized devops team. They made my life as a customer very easy, so much so that I assumed I could just spin up k8s on my own for a side project. I was surprised how much work it was to get something online.
Re:Tips for Debugging Kubernetes CrashLoopBackOff
by koblinski on Tuesday January 26, 2021 @12:19PM
(#25918492)
True. You can't remove the complexity, you just move it to another layer. This is great... until the thing isn't working, then you have to debug on a whole different layer, in a completely different kind of way.
Hahaha, I want to highlight this, underscore it, and blow it up. Seriously. Writing down your debugging steps is crucial but it's not the first thing you think to do and you kick yourself later for not doing it.
https://github.com/jpriebe/kubectl-dpod
It gives you container-level info, pod events, and logs from failed containers all in one quick view.
> https://raw.githubusercontent.com/releaseapp-io/container-de...
I was a heavy user of k8s at a previous company. They had a very talented and decently sized devops team. They made my life as a customer very easy, so much so that I assumed I could just spin up k8s on my own for a side project. I was surprised how much work it was to get something online.
kube and dockerz have been huge for scaling apps but also have given us a new layer of opacity.
debugging and debugging tools are always The Coolest.
this isn’t a sexy stuff but eventually everyone runs into crashloop.
thanks for write up.