logdna / logdna-agent

LogDNA Agent streams from log files to your LogDNA account. Works with Linux, Windows, and macOS Servers
https://logdna.com
MIT License
137 stars 55 forks source link

Add readiness/liveness probe to Daemonset #123

Open noqcks opened 5 years ago

noqcks commented 5 years ago

Hi there,

We're ran into a case where the LogDNA Daemonset has issues connecting to api.logdna.com. In this case the pod will continue to run as normal. The only way we know if something it wrong is when we check our logs and see that nothing has been logging from a node for a couple days.

image

It would be excellent if the kubernetes manifests had a readiness/liveness probe that was would fail if LogDNA agent cannot connect to api.logdna.com OR it didn't stop attempting to make a connection. (The above image shows it only trying for 4 mins)

Ambarish07 commented 1 year ago

@beefcheeks can I work on this one... ?