Introduction

Warning

These docs contain information that relates to my setup. They may or may not work for you.



My home Kubernetes cluster ⛵

... managed with Flux and Renovate 🤖

Discord k8s Talos renovate

Age-Days   Uptime-Days   Node-Count   Pod-Count   CPU-Usage   Memory-Usage   Power-Usage

Overview

This repository is my home Kubernetes cluster in a declarative state. Flux watches the kubernetes folder and will make the changes to the cluster based on the YAML manifests.

Core Components

🤖  Automation

  • Github Actions for checking code formatting and running periodic jobs
  • Renovate keeps the application charts and container images up-to-date

☁️ Cloud Dependencies

Total cloud costs yearly is approximately ~$150/year.

Directories

This Git repository contains the following directories.

📁 ansible         # Ansible playbooks for various systems managed outside the cluster
📁 hacks           # Contains random scripts
📁 kubernetes      # Kubernetes cluster defined as code
├─📁 bootstrap     # Flux installation to bootstrap cluster
├─📁 flux           # Main Flux configuration of repository
└─📁 apps          # Apps deployed into my cluster grouped by namespace
📁 talos           # Contains the configuration for Talos operating system
📁 terraform       # Contains Cloudflare & Google Compute infrastructure applied automatically by Flux tf-controller

🔧 Hardware

My mash-mash setup of random hardware I managed to acquire. I also have a few SBC RaspberryPi/ODROIDs lying around, but haven't had a lot of good luck running k3s on them, so sticking to amd64 based machines for now.

DeviceCountOS Disk SizeData Disk SizeRamOperating SystemPurpose
HP EliteDesk 800 G11512GB SSD512GB8GBTaloscontrol-plane
HP EliteDesk 800 G32256/512GB SSD512GB16GBTaloscontrol-plane
HP EliteDesk 800 G42256 SSD256GB16/32GBTalosworker
i5-2500K/R7 370 (old repurposed gaming computer)1120GB SSDN/A24GBTalosworker
i5-6700K/GTX1080 (repurposed gaming computer)1256GB SSDN/A32GBTalosworker
Synology DS920+1N/A2x8TB & 2x4TB20GBDSM 7.1.1NAS
CyberPower CP1500AVRLCD1N/AN/AN/AN/AUPS
Ubiquiti EdgeRouter 10X1N/AN/A512MBEdgeOSRouter
Ubiquiti UAP-AC-Lite1N/AN/AN/AN/AWiFi AP
PiKVM V4 Mini1N/AN/AN/APiKVMKVM
TESmart HDMI KVM Switch 8 Ports1N/AN/AN/AN/AKVM Switch
TP-Link TL-SG1024D 24 Port 1Gbps Switch1N/AN/AN/AN/ANetwork Switch

🤝 Graditude and Thanks

Thanks to all the people who donate their time to the Kubernetes @Home community.

This repository was built off the onedr0p/template-cluster-k3s repository.

Star History

Star History Chart

🔏 License

See LICENSE