Question-96: What is Pod Manifest file?

Answer: This Manifest file describe the pod. It is a text file and Kubernetes API object and you can think of it as a declarative configuration. The Kubernetes API server accepts and process Pod manifests before storing them in persistent storage that is etcd.

Question-97: How scheduler works with pods?

Answer: Scheduler looks for the pods which are not yet placed on any host and for that it uses the Kubernetes API. Once it find the Pods places those Pods on the nodes depending on the resource requirement and any constraint define in the Manifest file. So you can think of many Pods can be placed on the same machine, if that machine has enough resources.

Question-98: Is it a good idea to schedule multiple replicas on same machine?

Answer: No, not at all. It should not schedule multiple replicas on the same machine because it is not good for reliability, because any machine can fail any time and if multiple replica’s are on the same machine then they all would be down when host machine is down. Hence, Kubernetes scheduler tries to ensure that Pods from same application are distributed onto different machines for reliability.

Question-99: Scheduler automatically keep moving pods from one machine to another machine?

Answer: No, Once Pod are scheduled to a node, it does not move them, automatically. You must have to explicitly destroy them and reschedule it.

Question-100: What is the best way to deploy multiple replicas of a Pod?

Answer: ReplicaSets is a best way to deploy multiple instances of a Pod.