Last active
January 2, 2020 00:14
-
-
Save Grisson/5fc376485253cace6cda61099d09a47d to your computer and use it in GitHub Desktop.
install docker and kubeadm on raspberry pi with Ubuntu(eoan)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update | |
| sudo apt install -y docker.io docker-compose libffi-dev libssl-dev python python-pip | |
| sudo apt remove -y python-configparser | |
| sudo apt autoremove -y | |
| # permission for docker (Raspberry Pi with Ubuntu(eoan)) | |
| sudo usermod -aG docker ubuntu | |
| sudo chown ubuntu:docker /var/run/docker.sock | |
| #install kubeadm | |
| curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
| echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list | |
| sudo apt-get update -q && sudo apt-get install -y kubeadm kubectl kubelet | |
| sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment