Tips for optimizing Kubernetes scheduling throughput and customization
- Adjust the percentage of nodes to score based on cluster size
- Iterate a few nodes instead of all of them in the default preemption plugin
- Use the prefer nominated node feature to save time in scheduling
- Customize the parallelism parameter to optimize performance
- Model customer resources as extended resources to schedule GPU-intensive workloads
- Use multi-profile scheduling to specify different scheduling policies for different workloads
- Simplify scheduled configuration with a multi-point plugin
Suppose a user has a cluster of 2000 nodes and specifies the percentage as 10. The filter phase will only score 200 nodes, saving time and resources. Additionally, the prefer nominated node feature can assign a node to a workload without going through the regular scanning flow, further optimizing scheduling throughput.