Debug School


Posted on

POD by Varun

What is POD??

A POD is an atomic unit of scheduling in kubernetes. PODs are used to run containers within it and which in turn brings up the applications. kubernetes contains static pods and cluster managed pods. cluster managed pods are monitored by controller manager and it ensures that the pods are always in desired state. Pods are always initialized but never created. The state pod the pod is always decided based on the status of the container within it. A pod can contain two containers within it. first one is primary and second container is called as side car. To create a pod, the user will have to use a declarative language yaml. Whenever, a yaml file is passed via kubectl, it gets converted to a json file and then send to kube-api server. The api-server will validate the kind value and then create a pod. Pods are associated with an IP.

Top comments (0)