Giter VIP home page Giter VIP logo

rpizero-k3s-cluster's Introduction

rpizero-k3s-cluster

Ansible playbooks to setup a Raspberry Pi Zero 2 W Kubernetes cluster using k3s

Ansible host pre-requisites

  1. Install Ansible
  2. Install the Ansible Docker Community collection: ansible-galaxy collection install community.docker
  3. Install Python
  4. Install the Python Docker library: pip3 install docker
  5. Install the Python PyYaml library: pip3 install pyyaml
  6. Install the Python docker-compose library: pip3 install docker-compose

Install Procedure

  1. Customize the hosts.yaml file to point to your Raspberries. The "vm" host is assumed to be a single control plane node. More can be added to setup an HA control plane.
  2. make pre-requisites
  3. make install

Uninstall Procedure

  1. make uninstall

Full documentation

The full project description is available in my personal blog

Disclaimer

The provided code was tested on a 2020 M1 Macbook Air, where the Kubernetes single control plane node was running on a VM (Ubuntu), and three Raspberry Pi Zero 2 W's acting as Kubernetes worker nodes.

rpizero-k3s-cluster's People

Contributors

aveiga avatar

Stargazers

Dennis Schwertel avatar Isaac Díaz avatar Bruno Bernard avatar Mark avatar Jai avatar Derek Jacobs avatar CrimeFog avatar Juan Barrios avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.