Skip to content

Commit

Permalink
Fix kubeone reset
Browse files Browse the repository at this point in the history
Signed-off-by: Artiom Diomin <artiom@loodse.com>
  • Loading branch information
kron4eg committed Oct 31, 2019
1 parent b194152 commit ca9f94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/installer/installation/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ sudo rm -rf /opt/cni /opt/bin/kubeadm /opt/bin/kubectl /opt/bin/kubelet
sudo rm /etc/systemd/system/kubelet.service /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
`
resetScript = `
sudo kubeadm {{ .VERBOSE }} reset --force || true
sudo kubeadm {{ .VERBOSE }} reset --skip-phases update-cluster-status --force || true
sudo rm -f /etc/kubernetes/cloud-config
sudo rm -rf /var/lib/etcd/
rm -rf "{{ .WORK_DIR }}"
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/externalccm/ccm.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func waitForInitializedNodes(s *state.State) error {

s.Logger.Info("Waiting for nodes to initialize by CCM…")

return wait.Poll(5*time.Second, 60*time.Second, func() (bool, error) {
return wait.Poll(5*time.Second, 10*time.Minute, func() (bool, error) {
nodes := corev1.NodeList{}

if err := s.DynamicClient.List(ctx, &nodes); err != nil {
Expand Down

0 comments on commit ca9f94c

Please sign in to comment.