feat: add image-gc to k0s and talos kubelet options

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-02-01 17:01:30 -05:00
1 parent 73bd9fabad
commit cba35dc66a
2 files changed
+4 -3

No files matched your search

@@ -14,11 +14,12 @@ spec:
ssh:
address: "{{ item.address }}"
user: "{{ item.ssh_username }}"
{% if item.controller %}
installFlags:
{% if item.controller %}
- --disable-components=metrics-server
- --no-taints
{% endif %}
{% endif %}
- --kubelet-extra-args="--image-gc-low-threshold=50 --image-gc-high-threshold=60"
files:
- name: bootstrap-scripts
src: scripts