- Hands-On Kubernetes on Windows
- Piotr Tylenda
- 266字
- 2021-06-24 16:54:08
kube-scheduler
The main responsibility of the Kubernetes Scheduler (kube-scheduler) component is scheduling container workloads (Kubernetes Pods) and assigning them to healthy worker nodes that fulfill the criteria required for running a particular workload.
Scheduling is performed in two phases:
- Filtering
- Scoring
In the filtering phase, kube-scheduler determines the set of nodes that are capable of running a given Pod. This includes checking the actual state of nodes and verifying any resource requirements specified by the Pod definition. At this point, if there are no nodes that can run a given Pod, the Pod cannot be scheduled and remains pending. Next, in the scoring step, the scheduler assigns scores for each node based on a set of policies. Then, the Pod is assigned by the scheduler to the node with the highest score.
You can read more about available policies in the official documentation: https://kubernetes.io/docs/concepts/scheduling/kube-scheduler/#kube-scheduler-implementation.
Now, let's take a look at kube-controller-manager.
- C語言程序設(shè)計(jì)案例教程
- Learning Java Functional Programming
- TypeScript Essentials
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)教程
- OpenCV實(shí)例精解
- 實(shí)戰(zhàn)Java程序設(shè)計(jì)
- Reactive Programming With Java 9
- Mastering Data Mining with Python:Find patterns hidden in your data
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- DevOps 精要:業(yè)務(wù)視角
- C# 7.0本質(zhì)論
- C# 7 and .NET Core 2.0 Blueprints
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Building Microservices with .NET Core 2.0(Second Edition)
- 大象:Thinking in UML(第二版)