Commit fb121ff8 authored by Maciej Borsz's avatar Maciej Borsz

Reload systemd config files before starting kubelet.

In some environments, the os image comes with preloaded kubelet.service, so we need to reload systemctl configs to make changes effective.
parent a66be7c6
......@@ -1160,6 +1160,7 @@ ExecStart=${kubelet_bin} \$KUBELET_OPTS
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl start kubelet.service
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment