archrelease: copy trunk to community-any
[ArchLinux/community.git] / kubernetes / trunk / 10-kubeadm-kubelet.conf
blobe8a629c6baf0d8b0475c96384f5003b342681bad
1 [Service]
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
9 ExecStart=
10 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_ARGS