kubernetes: kubelet_memory writes a KubeletConfiguration drop-in 20-memory.conf for memory reservation and eviction, off by default

This commit is contained in:
2026-10-25 09:57:22 +00:00
parent c55a96c0ea
commit c49fd28b76
2 changed files with 28 additions and 0 deletions
+4
View File
@@ -40,6 +40,10 @@ kubernetes:
# when this is set and differs; empty installs the latest when k3s is missing.
version: ""
# KubeletConfiguration fields (systemReserved, evictionHard, ...) written to
# /etc/rancher/k3s/kubelet.conf.d/20-memory.conf; empty writes no file
kubelet_memory: {}
# Extra config of the nodes running etcd, left out with disable-etcd
etcd_config_extra:
# Without it etcd serves metrics on 127.0.0.1 only, out of reach of vmagent