k8snetworkplumbingwg / ovs-cni

Open vSwitch CNI plugin
Apache License 2.0
224 stars 71 forks source link

Support for probes for ovs cni marker #230

Closed rthakur-est closed 2 years ago

rthakur-est commented 2 years ago

We have a requirement where we want to monitor ovs-cni-marker for liveness so that it can restarted in case of process hangs/failures.

rthakur-est commented 2 years ago

One simple approach that can be pursued is to have a simple http endpoint for replying to liveness probe. Is there any alternative way that can be used here?

phoracek commented 2 years ago

Hello @rthakur-est, HTTP server would be ok. Or even a simple file-based liveness probe.

Would you be willing to extend the deployment manifest with it, and add a one of the probes?

rthakur-est commented 2 years ago

Hi @phoracek I will work on it.