PhilipSchmid/k8s-home-lab

Set Kubelet eviction thresholds

PhilipSchmid opened this issue · 0 comments

Check if the --kubelet-arg RKE2 flag could be used for this purpose. Perhaps something like the following values should work:

        eviction-hard: memory.available<100Mi
        eviction-soft: memory.available<500Mi
        eviction-soft-grace-period: memory.available=2m
        kube-reserved: 'cpu=10m,memory=100Mi'
        max-pods: '70'
        system-reserved: 'cpu=10m,memory=100Mi'