feat: add image-gc to k0s and talos kubelet options
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -14,11 +14,12 @@ spec:
|
|||||||
ssh:
|
ssh:
|
||||||
address: "{{ item.address }}"
|
address: "{{ item.address }}"
|
||||||
user: "{{ item.ssh_username }}"
|
user: "{{ item.ssh_username }}"
|
||||||
{% if item.controller %}
|
|
||||||
installFlags:
|
installFlags:
|
||||||
|
{% if item.controller %}
|
||||||
- --disable-components=metrics-server
|
- --disable-components=metrics-server
|
||||||
- --no-taints
|
- --no-taints
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
- --kubelet-extra-args="--image-gc-low-threshold=50 --image-gc-high-threshold=60"
|
||||||
files:
|
files:
|
||||||
- name: bootstrap-scripts
|
- name: bootstrap-scripts
|
||||||
src: scripts
|
src: scripts
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ controlPlane:
|
|||||||
kubelet:
|
kubelet:
|
||||||
extraArgs:
|
extraArgs:
|
||||||
image-gc-low-threshold: 50
|
image-gc-low-threshold: 50
|
||||||
image-gc-high-threshold: 60
|
image-gc-high-threshold: 55
|
||||||
rotate-server-certificates: true
|
rotate-server-certificates: true
|
||||||
nodeIP:
|
nodeIP:
|
||||||
validSubnets:
|
validSubnets:
|
||||||
|
|||||||
Reference in new issue
Block a user