logoalt Hacker News

__turbobrew__today at 5:50 PM1 replyview on HN

A good reason to health check the kubelet process and restart it when the checks fail.


Replies

compumiketoday at 6:06 PM

What kind of health checks? In my case, the kubelet process was staying alive and responsive to queries, I believe due to:

  # cat /proc/$(pgrep kubelet)/oom_score_adj
  -999
  
  (from OOMScoreAdjust=-999 in /etc/systemd/system/kubelet.service)  
With this score, the Linux OOM killer wouldn't touch it, but any of my Pods were fair game.
show 1 reply