Chapter 39
Kubernetes: Part 2, Interview
In this part, we will talk about Kubernetes-related interview questions.
On purpose, I will not use any kubectl commands, because I want you to build intuition, not memorize a cheat sheet.
Debugging
A good interviewer will mainly ask "if things do not go as you expected, what can you do?"
Let's tackle the most common things we can do.
Pods Do Not Start
With kubectl, you can describe the pod and find Reason, which gives you a hint: ImagePullBackOff if it cannot pull the image, or Out Of Memory if the Node simply has nowhere to put it.
Pods Keep Restarting
Part of the full course
Unlock this chapter
This one is part of the paid course. Everything before the interview, the free sampler articles, the Core Java drills, and mock interviews stay open either way.