Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coreos not working #17

Open
xoroz opened this issue Feb 13, 2019 · 1 comment
Open

coreos not working #17

xoroz opened this issue Feb 13, 2019 · 1 comment

Comments

@xoroz
Copy link

xoroz commented Feb 13, 2019

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: 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

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
Copy link
Contributor

xakraz commented Feb 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants