Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.05 KB

README.md

File metadata and controls

51 lines (37 loc) · 2.05 KB

RPI-K8S-Cluster

Slack VR K8S

Provisioning scripts for the Kubernetes Cluster using RPIs on Ubuntu 22.04. An ansible playbook is also available to demo the k8s integration. This cluster is used for Training and Presentations

Downloads the Flash tool

sudo curl -L "https://github.com/hypriot/flash/releases/download/2.7.2/flash" -o /usr/local/bin/flash
sudo chmod +x /usr/local/bin/flash

Downloads the k3sup tool

curl https://github.com/alexellis/k3sup/releases/download/0.12.3/k3sup-darwin-arm64
chmod +x k3sup-darwin-arm64

Download and extract the ubuntu image

Flash

flash -F cmdline.txt --userdata ssd01.yml ubuntu-22.04.1-preinstalled-server-arm64+raspi.img

Provision

export SSD01=192.168.4.56  (Master)
./k3sup-darwin-arm64 install --ip $SSD01 --user clvr-user --cluster
./k3sup join --ip $SSD02 --user clvr-user --server-user clvr-user --server-ip $SSD01 --server 
./k3sup join --ip $SSD03 --user clvr-user --server-user clvr-user --server-ip $SSD01 --server 
./k3sup join --ip $SSD04 --user clvr-user --server-ip $SSD01
./k3sup join --ip $SSD05 --user clvr-user --server-ip $SSD01
./k3sup join --ip $SSD06 --user clvr-user --server-ip $SSD01
./k3sup join --ip $SSD07 --user clvr-user --server-ip $SSD01

Contribute

We would be happy to accept PRs! If you want to work on something, it'd be good to talk beforehand to make sure nobody else is working on it. You can reach us on slack, or in the issues section.

If you want to code but don't know where to start, check out the issues labelled "help wanted".

Please note that all interactions in @clvr-cloud fall under our Code of Conduct.

License

MIT © 2019 CLVR Cloud Ltd