Giter Site home page Giter Site logo

aggressivemenace / rpizero-k3s-cluster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aveiga/rpizero-k3s-cluster

0.0 0.0 0.0 6 KB

Ansible playbooks to deploy an HA Kubernetes cluster over some Raspberry Pi Zero 2 W's

License: MIT License

Makefile 100.00%

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

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.