2017-10-18 7 views

Répondre

1

Voir Reserve Compute Resources for System Daemons.

Dans le systemd, nous pouvons configurer kubelet avec la fonction Node Allocatable comme ceci.

$ cat > /etc/systemd/system/kubelet.service.d/20-node-eviction.conf <<EOF 
Environment="KUBELET_EXTRA_ARGS=--eviction-hard=memory.available<500Mi --system-reserved=memory=1Gi" 
EOF 
$ systemctl daemon-reload 
+0

On dirait exactement ce dont j'ai besoin. Merci –