Skip to content

Commit

Permalink
Reload systemd config files before starting kubelet.
Browse files Browse the repository at this point in the history
In some environments, the os image comes with preloaded kubelet.service,
so we need to reload systemctl configs to make changes effective.
  • Loading branch information
mborsz committed Jul 3, 2018
1 parent a66be7c commit fb121ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster/gce/gci/configure-helper.sh
Expand Up @@ -1160,6 +1160,7 @@ ExecStart=${kubelet_bin} \$KUBELET_OPTS
WantedBy=multi-user.target
EOF

systemctl daemon-reload
systemctl start kubelet.service
}

Expand Down

0 comments on commit fb121ff

Please sign in to comment.