This is an old revision of the document!


Raspberry Pi Computing Cluster

Some Background

Setup

On a fresh RPi here are the steps

  • Install Python 3, remove Python 2
  • Install Docker
  • Install Kubernetes

Docker

Get Started with Docker on Raspberry Pi

An automated script maintained by the Docker project will create a systemd service file and copy the relevant Docker binaries into /usr/bin/.

sudo curl -sSL https://get.docker.com | sh

Set Docker to auto-start:

sudo systemctl enable docker

Or start Docker manually:

sudo systemctl start docker

The Docker client can only be used by root or members of the docker group. Add pi or your equivalent user to the docker group:

sudo usermod -aG docker pi

Kubernetes