logoalt Hacker News

Fixing a kubelet memory leak in Kubernetes 1.36

36 pointsby compumiketoday at 2:14 AM7 commentsview on HN

Comments

compumiketoday at 2:15 AM

Author here! If you're running a Kubernetes cluster, I recommend you check `kubectl version` and see if you're running "Server Version: v1.36.[0,1,2]". If so, you may want to use the one-liner at the end of the article to check your "process_resident_memory_bytes" on each node, and consider restarting kubelet as a temporary workaround to tame the memory leak until v1.36.3 is released.

__turbobrew__today at 5:50 PM

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

show 1 reply
rirzetoday at 4:52 PM

Very cool. It's often daunting to contribute to such a well-established and recognizable project, but this is exactly how it should work.

CamouflagedKiwitoday at 5:11 PM

Nice find.

Can't help but feel this is one of the subtle traps hidden beneath the advice that contexts aren't supposed to be stored. I know it's not always that easy, of course.

show 1 reply
fsutstoday at 5:35 PM

Not all heroes wear capes! Well done