Open syed opened 6 years ago
Yes, I have seen that before.
I believe that happens when the network overlay is created too early on the master. That's why there is this ugly sleep 60
in the script to bootstrap the master (https://github.com/vilisseranen/terraform-kubeadm/blob/master/templates/bootstrap_master.sh.tpl#L18).
If you know a legitimate condition on which we can wait on, I would gladly accept to change this script.
Any workarounds to this? Can I fix my cluster after this has happened?
Increasing the timeout should solve the issue. You can fix your cluster by killing the DNS pods, they will get recreated shortly after.
On Thu, Jun 7, 2018, 17:08 Syed Mushtaq Ahmed, notifications@github.com wrote:
Any workarounds to this? Can I fix my cluster after this has happened?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vilisseranen/terraform-kubeadm/issues/4#issuecomment-395565617, or mute the thread https://github.com/notifications/unsubscribe-auth/AD5z-PeRvSnLIQ9FJEje8q93IfRsrYUAks5t6ZZDgaJpZM4Uba6i .
After creating the cluster, I see that
kube-dns
andkubernetes-dashboard
are still inContainerCreating
state.Haven't debugged this but have you seen this before @vilisseranen ?