Added taints tolerance to the validator, so that it will not mess with nodes with "NoSchedule" taints in a production cluster.
pods will get scheduled on nodes evenly
NoSchedule taint works
added default tolerance for windows nodes' taint:
- effect: NoSchedule
key: os
value: windows
Ensure tests will not get blocked by pending pods:
Removed pending pods which cannot get spun up on the nodes.
Pods keeps in pending state, may because of cannot find the node to deploy, due to resource constraints in the cluster, or taints without corresponding tolerance.
Need to remove the pods, as this case is non networking related, and blocks the tests.
Snapshots:
Nodes with taint:
Pods scheduling:
Control plane will not get nodes scheduled on, as the multiple NoSchedule taints; while kind-worker2 has a pod scheduled on, as the taint tolerance.
Added taints tolerance to the validator, so that it will not mess with nodes with "NoSchedule" taints in a production cluster.
NoSchedule
taint worksSnapshots: Nodes with taint:
Pods scheduling:
Control plane will not get nodes scheduled on, as the multiple
NoSchedule
taints; while kind-worker2 has a pod scheduled on, as the taint tolerance.