GithubHelp home page GithubHelp logo

ryzengrind / iac-raspbernetes-homelab Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 215 KB

WORK IN PROGRESS | Infrastructure-as-Code Raspberry Pi 4 multi-node micro-Kubernetes Cluster

License: GNU General Public License v3.0

iac-raspbernetes-homelab's Introduction

description
WORK IN PROGRESS | Infrastructure-as-Code Raspberry Pi 4 multi-node micro-Kubernetes Cluster

๐Ÿ˜Ž Raspbernetes HomeLab

Abstract

Previously the development, deployment and maintenence of highly available services provided through a traditional web server required

__

Documentation and configuration for my attempt to bootstrap and maintain my home-lab microk8s cluster with MaaS, Ansible, Juju, Flux, and Cloudflared. The goal is to have a secure-bv-default globally accessible live dev/production environment and server.

Hardware

PiKVM v2:
- Raspberry Pi 4 Model B 4GB
- AIMOS 8-port HDMI USB-C KVM Switch
MaaS Controllers:
- Lenovo Thinkpad T500 | Ubuntu Server 20.04.4 LTS (Linux 5.8)
- Acer Swift 3 | Ubuntu Desktop 18.04.6 LTS (Linux 5.4)
MaaS Server Nodes:
- 5x Raspberry Pi 4 8GB
- 5x UASP compatible NVMe M.2 to USB 3.1 Type-C/A SSD Enclosure
- 5x 512GB Western Digital Blue NVMe SSD
- 5x USB Type-A 3.1 Sandisk 64GB USB Flash Drives
Other relevant (network) hardware:
- 8 port Netgear GS108Tv3 Smart Switch
- 2x TP-LINK Archer C7 AC1750 v5 OpenWRT-21.02
- 1x Raspberry Pi 3B+ 4GB OpenWRT-21.02

Steps

1. This discourse link is a fully compiled up to date in detail guide on bootstrapping MaaS with a cluster of Raspberry Pis provided directly courtesy of Canonical (Ubuntu) software engineers and all other MaaS contributors.
2. Ansible role microk8s
3. Ansible role seaweedfs operator
- install cert manager helm to install seaweedfs operator
- deploy seaweedfs config to operator
3. Ansible role cloudflared
4. Ansible role gitlab
5. Ansible role gitpod\

Next Steps | TODO


Install MaaS and configure
Use MaaS to provision and deploy RPI cluster
https://github.com/papanito/ansible-role-cloudflared
https://github.com/IanTeda/ansible-microk8s
https://github.com/geerlingguy/ansible-role-gitlab
https://github.com/gitpod-io/gitpod/tree/main/install/installer
https://developers.cloudflare.com/cloudflare-one/tutorials/many-cfd-one-tunnel/ -> make into Ansible role
Add bash aliases and flux autocomplete
\

iac-raspbernetes-homelab's People

Contributors

ryzengrind avatar

Watchers

 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.