Open xoroz opened 5 years ago
I would suggest you to give a try to the docker image xakra/kubeadm-installer:0.4.7
However, we did not update the tool since a least 1 year ago ... Maybe try to rebuild and image using the sources located https://github.com/xakraz/kubeadm-installer and using more up-to-date versions of the components.
i am trying to run it on CoreOS DISTRIB_ID="Container Linux by CoreOS" DISTRIB_RELEASE=1967.6.0
docker run -it -v /etc/cni:/rootfs/etc/cni -v /etc/systemd:/rootfs/etc/systemd -v /opt:/rootfs/opt -v
/usr/bin:/rootfs/usr/bin luxas/kubeadm-installer coreos Installed kubectl in /opt/bin/kubectl Ignoring /opt/bin/kubelet, since it seems to exist already or isn't needed Installed kubeadm in /opt/bin/kubeadm Installed CNI binaries in /opt/cni Installed the kubelet.service in /etc/systemd/system/kubelet.service /entrypoint.sh: line 97: /etc/systemd/network/50-cni.network: No such file or directory Installed 50-cni.network in /etc/systemd/network/50-cni.network Done! Now run this in your terminal to enable docker and kubelet:
systemctl daemon-reload systemctl enable docker kubelet systemctl restart docker kubelet
localhost ~ # /opt/bin/kubeadm init /opt/bin/kubeadm: line 1: syntax error near unexpected tokenThe specified key does not exist. No such object: kubernetes-release-dev/ci-cross/v1.6.0-alpha.0.2074+a092d8e0f95f52/bin/linux/amd64/kubeadm '
<' /opt/bin/kubeadm: line 1:
<?xml version='1.0' encoding='UTF-8'?>NoSuchKey
cat /opt/bin/kubeadm <?xml version='1.0' encoding='UTF-8'?>The specified key does not exist. No such object: kubernetes-release-dev/ci-cross/v1.6.0-alpha.0.2074+a092d8e0f95f52/bin/linux/amd64/kubeadm
NoSuchKey
Please help.. What am I doing something wrong?