- In 4.18+ the Kubelet will listen 0.0.0.0 always, but --node-ip option will get set based on the following:
- In 4.16 this will set what Address the kubelet will listen on, pods using HostNetwork will also only listen on this address.
- EnvironmentFiles, if
KUBELET_NODE_IPis set, in the following priority:/etc/kubernetes/kubelet-env/etc/kubernetes/kubelet-workaround
KUBELET_NODE_IPset via/etc/systemd/system/kubelet.service.d/20-nodenet.conf