r/kubelet: Schedule automatic image prune

As pods move around between nodes, applications are updated, etc., nodes
tend to accumulate images in their container stores that are no longer
used.  These take up space unnecessarily, eventually triggering disk
usage alarms.  From now, the _kubelet_ role installs a systemd timer and
service unit to periodically clean up these unused images.
This commit is contained in:
2025-10-13 09:54:20 -05:00
parent 142682ce2f
commit 96ac5be3b5
4 changed files with 88 additions and 0 deletions

View File

@@ -14,3 +14,8 @@
service:
name: kubelet
state: restarted
- name: restart crictl-image-prune.timer
systemd:
name: crictl-image-prune.timer
state: restarted