kube-fluentd-operator icon indicating copy to clipboard operation
kube-fluentd-operator copied to clipboard

liveness and readiness probes for reloader [kubernetes]

Open karthiknagraj opened this issue 3 years ago • 3 comments

Hi, I'm trying to configure liveness and readiness probes for Kube-fluentd-operator. Is there any HTTP-get API that I can use? Or is there any recommended way of defining these probes?

Thanks

karthiknagraj avatar Dec 07 '21 10:12 karthiknagraj

@karthiknagraj , currently we don't support this because reloader does not expose any port/endpoints internally. It basically works as a daemon binary. It would be trivial to expose a port and route inside the container to monitor its health. Might be worthwhile.

Cryptophobia avatar Dec 08 '21 18:12 Cryptophobia

Thank you for considering my issue as an enhancement. Since fluentd(Gem) is part of kube-fluentd-operator. Is there an idea to check for the health of fluentd(internal to kfo) as well?

karthiknagraj avatar Dec 15 '21 09:12 karthiknagraj

That should not be that difficult. We can set different livenessProbes for each container I believe.

Cryptophobia avatar Dec 15 '21 23:12 Cryptophobia