2 Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
3 Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
4 # "kubeadm init" and "kubeadm join" populate the KUBELET_KUBEADM_ARGS in this file
5 EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
6 # The KUBELET_ARGS can be sourced from this file
7 # NOTE: Using the config.yaml is preferred
8 EnvironmentFile=-/etc/kubernetes/kubelet.env
10 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_ARGS