|
@ -5,6 +5,7 @@ After=docker.service |
|
|
Wants=docker.socket |
|
|
Wants=docker.socket |
|
|
|
|
|
|
|
|
[Service] |
|
|
[Service] |
|
|
|
|
|
User=root |
|
|
EnvironmentFile=-{{kube_config_dir}}/kubelet.env |
|
|
EnvironmentFile=-{{kube_config_dir}}/kubelet.env |
|
|
{% if kubelet_flexvolumes_plugins_dir is defined %} |
|
|
{% if kubelet_flexvolumes_plugins_dir is defined %} |
|
|
ExecStartPre=-/bin/mkdir -p {{ kubelet_flexvolumes_plugins_dir }} |
|
|
ExecStartPre=-/bin/mkdir -p {{ kubelet_flexvolumes_plugins_dir }} |
|
|