kube-ovn icon indicating copy to clipboard operation
kube-ovn copied to clipboard

Mark node as NotReady when ovs-ovn failed

Open oilbeater opened this issue 2 years ago • 1 comments

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.

oilbeater avatar Apr 24 '22 09:04 oilbeater

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.

sober-wang avatar Aug 19 '22 01:08 sober-wang

If node not ready eviction will be triggered which is not what we want.

oilbeater avatar Feb 28 '23 02:02 oilbeater