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

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions