kube-ovn
kube-ovn copied to clipboard
Mark node as NotReady when ovs-ovn failed
Feature request
When ovs-ovn on when node fails, scheduler will still puts pods into this node and leads further problems.
We need to mark the node as NotReady to prevent this, one simple way is that kube-ovn-cni prob check if ovs is not ready and remove the cni conf.
if the node status is notready, kube-controller-manager can't put pods into notready nodes.
Can you draw a picture with descript your means?
maybe, we only use shell scripts in k8s prob check.
If node not ready eviction will be triggered which is not what we want.