Nodes running out of space #1052
-
DescriptionMy nodes just ran out of space because containerd kept all old images. Running
solved it. I am not sure yet about the best way to run this regularly but it might be worth adding? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Kubernetes automatically performs garbage collection You can tune using the following kubelet args
|
Beta Was this translation helpful? Give feedback.
-
Oh, I see, thank you! So
should do the trick? |
Beta Was this translation helpful? Give feedback.
-
Don't forget that you need to do the same for agent_args And using those args wont work for existing nodes, and they won't persist across reboots. |
Beta Was this translation helpful? Give feedback.
-
Aren’t those args the default? k3s-io/k3s#813 |
Beta Was this translation helpful? Give feedback.
Kubernetes automatically performs garbage collection
https://kubernetes.io/docs/concepts/architecture/garbage-collection/#containers-images
You can tune using the following kubelet args