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

kubeadm not working #17

Open
kenroyandfamily opened this issue Nov 7, 2020 · 0 comments
Open

kubeadm not working #17

kenroyandfamily opened this issue Nov 7, 2020 · 0 comments

Comments

@kenroyandfamily
Copy link

kenroyandfamily commented Nov 7, 2020

Following the README it was simple to get up and running at http://localhost (on Mac OS 10.15.7)

But I can't get passed the first question :-)

I ran the following commands:

apt-get update

sudo is missing so I install it

apt-get install sudo

These commands come from https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

sudo apt-get update && sudo apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt-get update
sudo apt-get install -y kubelet kubeadm kubectl
sudo apt-mark hold kubelet kubeadm kubectl

But when I run "kubeadm init" I get the following error:
W1107 15:30:50.563919 1034 kubelet.go:200] cannot automatically set CgroupDriver when starting the Kubelet: cannot execute 'docker info -f {{.CgroupDriver}}':
executable file not found in $PATH

Basically the "docker" command is not found.

I've tried installing docker, but I get errors when trying to start it.

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

1 participant