- Getting Started with Kubernetes
- Jonathan Baier Jesse White
- 209字
- 2021-06-10 19:47:10
Application scheduling
Now that we understand how to run containers in pods and even recover from failure, it may be useful to understand how new containers are scheduled on our cluster nodes.
As mentioned earlier, the default behavior for the Kubernetes scheduler is to spread container replicas across the nodes in our cluster. In the absence of all other constraints, the scheduler will place new pods on nodes with the least number of other pods belonging to matching services or replication controllers.
Additionally, the scheduler provides the ability to add constraints based on resources available to the node. Today, this includes minimum CPU and memory allocations. In terms of Docker, these use the CPU-shares and memory limit flags under the covers.
When additional constraints are defined, Kubernetes will check a node for available resources. If a node does not meet all the constraints, it will move to the next. If no nodes can be found that meet the criteria, then we will see a scheduling error in the logs.
The Kubernetes road map also has plans to support networking and storage. Because scheduling is such an important piece of overall operations and management for containers, we should expect to see many additions in this area as the project grows.
- Mastering Proxmox(Third Edition)
- 嵌入式系統(tǒng)應(yīng)用
- IoT Penetration Testing Cookbook
- 離散事件系統(tǒng)建模與仿真
- Supervised Machine Learning with Python
- 21天學(xué)通Visual C++
- 愛(ài)犯錯(cuò)的智能體
- 數(shù)據(jù)掘金
- Photoshop行業(yè)應(yīng)用基礎(chǔ)
- FPGA/CPLD應(yīng)用技術(shù)(Verilog語(yǔ)言版)
- C++程序設(shè)計(jì)基礎(chǔ)(上)
- SQL Server數(shù)據(jù)庫(kù)應(yīng)用基礎(chǔ)(第2版)
- Microsoft Dynamics CRM 2013 Marketing Automation
- 人工智能:智能人機(jī)交互
- FANUC工業(yè)機(jī)器人虛擬仿真教程