Feat: Pod scheduling control
Created by: leoendless
What would you like to be added:
Design a suitable way to make pod scheduling control more convenient and flexible.
Functions to be implemented:
- Support to edit affinity and anti-affinity through UI.
- Support to edit pod's node selector through UI.
Why is this needed:
Refer to https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node
In many cases, pods need to be scheduled to specific nodes, or scheduled with pods of certain services, or prevent from being scheduled to specific nodes, etc.
Currently, ks-console only partially supports affinity, allowing centralized or decentralized scheduling of workload pods.
And edit the node selector in the [Advanced Settings]. But after the workload is created, the node selector can no longer be modified through the UI.