Skip to content

Instantly share code, notes, and snippets.

@Grisson
Last active January 2, 2020 00:14
Show Gist options
  • Select an option

  • Save Grisson/5fc376485253cace6cda61099d09a47d to your computer and use it in GitHub Desktop.

Select an option

Save Grisson/5fc376485253cace6cda61099d09a47d to your computer and use it in GitHub Desktop.
install docker and kubeadm on raspberry pi with Ubuntu(eoan)
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