luxas / kubeadm-installer

A kubeadm installer container for CoreOS, Ubuntu, Debian, CentOS and Fedora
MIT License
21 stars 26 forks source link

coreos not working #17

Open xoroz opened 5 years ago

xoroz commented 5 years ago

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 token <' /opt/bin/kubeadm: line 1:<?xml version='1.0' encoding='UTF-8'?>NoSuchKeyThe specified key does not exist.

No such object: kubernetes-release-dev/ci-cross/v1.6.0-alpha.0.2074+a092d8e0f95f52/bin/linux/amd64/kubeadm
'

cat /opt/bin/kubeadm <?xml version='1.0' encoding='UTF-8'?>NoSuchKeyThe specified key does not exist.

No such object: kubernetes-release-dev/ci-cross/v1.6.0-alpha.0.2074+a092d8e0f95f52/bin/linux/amd64/kubeadm

Please help.. What am I doing something wrong?

xakraz commented 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.