the style and logic of the above code is no longer familiar: Create a The Schedulerserver object, which passes command-line arguments, and enters the schedulerserver Run method, does not die. --"kubernetes authoritative guide" source code guidance
Kubernetes Scheduler Server is implemented by the Kube-scheduler process, which runs on the Kubernetes management node--master and is primarily responsible for completing the pod-to-node scheduling process. Kubernetes Scheduler Server tracks the resource utilization of all nodes in the Kubernetes cluster, and takes the appropriate scheduling strategy to ensure the balance of the scheduling and avoid "overloading" some node in the cluster, in a sense, Kubernetes Scheduler server is also the "brain" of the kubernetes cluster.
As an important supplier of public cloud, Google has accumulated a lot of experience and understands the needs of its customers. In Google's view, customers are not really concerned about what machine their services are running on, they are most concerned about the reliability of the service, and want to recover automatically if a failure occurs. Following this guideline, Kubernetes Scheduler Server realizes the principle of "complete market economy" and completely abandons the "planned economy" in the traditional sense.
--"Kubernetes authoritative guide" source code guidance
Kubernetes Definitive Guide to the best quotations