Home United States USA — software Everything You Need To Know About Kubernetes Scheduler

Everything You Need To Know About Kubernetes Scheduler

356
0
SHARE

When creating a Kubernetes cluster, scheduling the pod to an available node is an important component of the process which works under specific rules and …
Join the DZone community and get the full member experience. When creating a Kubernetes cluster, scheduling the pod to an available node is an important component of the process. This component works under specific rules and technicalities that I’d like to explore in this article. Understanding this can help you increase your cluster deployment rate and quality. The Pod will be executed in a matter of seconds but a lot of things are going on in the background as this happens. This part is the hardest work as there are several algorithms that the Scheduler must utilize to make this decision. Some of those algorithms depend on user-supplied options, while Kubernetes itself calculates others. A node may be overloaded with so many busy pods consuming most of its CPU and memory. So, when the scheduler has a Pod to deploy, it determines whether or not the node has the necessary resources. If a Pod was deployed to a node that does not have enough memory (for example) that the Pod is requesting, the hosted application might behave unexpectedly or even crash.

Continue reading...