Re:Guide to OOMKill Alerting in Kubernetes Clusters
by jacques_chester on Monday November 23, 2020 @11:06PM
(#25195177)
I don't think it would work to report an OOMkill. The process that would answer the healthcheck probe would be gone.
[ Parent
| on HN ]
Re:Guide to OOMKill Alerting in Kubernetes Clusters
by m1keil on Tuesday November 24, 2020 @02:23AM
(#25196135)
It's not clear to me what happens after the OOM. Does the init process restarts the daemon? I would argue that it shouldn't.
If the process stops responding to a healthcheck, it's the scheduler's responsibility (k8s in this case) to handle it. Crashes in this case should be handled in a similar way, whether it's due to OOM or a bug.
Maybe I'm missing another scenario here?
Re:Guide to OOMKill Alerting in Kubernetes Clusters
by dharmab on Tuesday November 24, 2020 @11:54AM
(#25200242)
> Does the init process restarts the daemon?
In systemd, this depends on what the Restart option in the service unit is set to. The default is to not restart.
https://www.freedesktop.org/software/systemd/man/systemd.ser...