Kubernetes Interview Questions — Part 1

Common Questions You should know before the Interview

Bhargav Bachina
Bachina Labs

--

Photo by Matt Botsford on Unsplash

I have done many interviews so far both as an interviewer and Interviewee. I am compiling this list based on my experience and we can’t put it all in one article so I am dividing these articles into 20 questions each. We will see how many parts this will come into. Here are the first 20 Common Questions in Kubernetes.

In this part, we will focus mainly on container design patterns.

  1. What is a Pod?
A pod is the basic building block of kubernetes application. Kubernetes manages pods instead of containers and pods encapsulate containers. A pod may contain one or more containers, storage, IP addresses, and, options that govern how containers should run inside the pod.

2. Can we put multiple containers inside a pod?

YesA pod that contains one container refers to a single container pod and it is the most common kubernetes use case. A pod that contains Multiple co-related containers refers to a multi-container pod.

3. Name some container patterns you come across or use?

1. Init Container Pattern
2. Sidecar Container Pattern
3. Adapter Container Pattern
4. Ambassador Container Pattern

--

--