I basically want to find the hard eviction strategy that kubelet is currently using.
I checked the settings in the /etc/systemd/system/kubelet.service file on my K8s node. In that the strategy I mentioned is as follows:--eviction-hard=nodefs.available<3Gi
However, my pods seem to be evicted when the nodefs.available is <10% (default kubernetes settings) I have been unable to find a way a way to know the current parameters that are being used by kubernetes.
It is possible to dump the current kubelet configuration using kubectl proxy
along with the /api/v1/nodes/${TARGET_NODE_FOR_KUBELET}/proxy/configz
path, details see linked Kubernetes docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With