kubeadm does not support --alsologtostderr after all

pull/5335/head
Thomas Stromberg 2019-09-13 06:18:08 -07:00
parent 05a3279929
commit 55a3b9f8a2
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ func (k *Bootstrapper) RestartCluster(k8s config.KubernetesConfig) error {
glog.Errorf("failed to create compat symlinks: %v", err) glog.Errorf("failed to create compat symlinks: %v", err)
} }
baseCmd := fmt.Sprintf("%s --alsologtostderr -v=1 %s", invokeKubeadm(k8s.KubernetesVersion), phase) baseCmd := fmt.Sprintf("%s -v=1 %s", invokeKubeadm(k8s.KubernetesVersion), phase)
cmds := []string{ cmds := []string{
fmt.Sprintf("%s phase certs all --config %s", baseCmd, yamlConfigPath), fmt.Sprintf("%s phase certs all --config %s", baseCmd, yamlConfigPath),
fmt.Sprintf("%s phase kubeconfig all --config %s", baseCmd, yamlConfigPath), fmt.Sprintf("%s phase kubeconfig all --config %s", baseCmd, yamlConfigPath),