ceph-csi/vendor/k8s.io/kubernetes/build/debs/10-kubeadm.conf

12 lines
898 B
Plaintext
Raw Normal View History

2018-07-18 14:47:22 +00:00
# Note: This dropin only works with kubeadm and kubelet v1.11+
2018-01-09 18:57:14 +00:00
[Service]
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
2018-07-18 14:47:22 +00:00
Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
# This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamically
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use
# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file.
EnvironmentFile=-/etc/default/kubelet
2018-01-09 18:57:14 +00:00
ExecStart=
2018-07-18 14:47:22 +00:00
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS