protokube: log when starting kubelet

This commit is contained in:
Justin Santa Barbara 2017-01-19 01:59:08 -05:00
parent d569b04ca5
commit 0be10236b9
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@ func (k *KubeBoot) syncOnce() error {
// enableKubelet: Make sure kubelet is running.
func enableKubelet() error {
// TODO: Check/log status of kubelet
// (in particular, we want to avoid kubernetes/kubernetes#40123 )
glog.V(2).Infof("ensuring that kubelet systemd service is running")
cmd := exec.Command("systemctl", "start", "--no-block", "kubelet")
output, err := cmd.CombinedOutput()
if err != nil {