Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

kubeadm init fails when building from source #250

Closed
achalshant opened this issue Nov 13, 2018 · 0 comments · Fixed by #251
Closed

kubeadm init fails when building from source #250

achalshant opened this issue Nov 13, 2018 · 0 comments · Fixed by #251

Comments

@achalshant
Copy link

achalshant commented Nov 13, 2018

Got the following error while building Kubernetes from source using dind-cluster.sh

*** 'kubeadm init --config /etc/kubeadm.conf --ignore-preflight-errors=all' failed, doing kubeadm reset ***
'/etc/cni' -> '/etc/cni.bak'
'/etc/cni/net.d' -> '/etc/cni.bak/net.d'
'/etc/cni/net.d/cni.conf' -> '/etc/cni.bak/net.d/cni.conf'
failed to load admin kubeconfig: open /root/.kube/config: no such file or directory
featureGates: Invalid value: map[string]bool{"CoreDNS":false}: CoreDNS is not a valid feature name.

real 0m0.049s
user 0m0.032s
sys 0m0.016s
*** 'kubeadm init --config /etc/kubeadm.conf --ignore-preflight-errors=all' failed, doing kubeadm reset ***
'/etc/cni' -> '/etc/cni.bak'
'/etc/cni/net.d' -> '/etc/cni.bak/net.d'
'/etc/cni/net.d/cni.conf' -> '/etc/cni.bak/net.d/cni.conf'
failed to load admin kubeconfig: open /root/.kube/config: no such file or directory
*** kubeadm failed

ivan4th pushed a commit to ivan4th/kubeadm-dind-cluster that referenced this issue Nov 14, 2018
Always use CoreDNS and remove the feature gate from config.
Add workaround for `unifiedControlPlaneImage` removal kubernetes/kubernetes#70793
Fixes kubernetes-retired#250
ivan4th pushed a commit to ivan4th/kubeadm-dind-cluster that referenced this issue Nov 14, 2018
Always use CoreDNS and remove the feature gate from config.
Add workaround for `unifiedControlPlaneImage` removal kubernetes/kubernetes#70793
Fixes kubernetes-retired#250
ivan4th pushed a commit to ivan4th/kubeadm-dind-cluster that referenced this issue Nov 14, 2018
Always use CoreDNS and remove the feature gate from config.
Add workaround for `unifiedControlPlaneImage` removal kubernetes/kubernetes#70793
Fixes kubernetes-retired#250
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant