Skip to content

This is the Kubernetes config for my home cluster, I use Flux to sync this and the cluster itself.

Notifications You must be signed in to change notification settings

1Solon/Home-Server-Configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solon's Home Server Config

A k3's cluster managed with Flux and Renovate

GitHub Repo stars GitHub forks

📂 Repository structure

The Git repository contains the following directories:

📁
├─📁 ansible
│  └─ 📁 playbooks
└──📁 kubernetes
   ├── 📁 cert-manager
   ├── 📁 dashboard
   ├── 📁 databases   # Postgres, CloudNativePG
   ├── 📁 kube-system
   ├── 📁 longhorn
   ├── 📁 media       # Sonarr, Radarr, Jellyfin, etc
   ├── 📁 metallb
   ├── 📁 ntfy
   ├── 📁 pihole
   ├── 📁 reflector
   ├── 📁 reloader
   ├── 📁 semaphore
   ├── 📁 speedtest
   └── 📁 traefik

🖥️ Software

The following apps are installed on the clusters.

Software Purpose
Flux2 GitOps Tool managing the cluster
Longhorn Persistent Block Storage Provisioner
MetalLB Bare metal LoadBalancer
Cert-Manager Letsencrypt certificates with Cloudflare DNS
System Upgrade Controller Automated k3s upgrades
Homarr Sleek, modern dashboard for managing services
CloudNativePG Cloud-native PostgreSQL cluster operator
Postgres Operator Operator for managing PostgreSQL clusters
Decluttarr Automated media organization and decluttering tool
Flaresolverr Cloudflare and DDoS protection bypass
Flood Web UI for rtorrent and other torrent clients
Jellyfin Media server
Jellyseer Media discovery and management for Jellyfin
Notifiarr Notifications and monitoring tool for media services
Prowlarr Indexer manager for media automation
Qbittorrent Torrent client
Radarr Automated movie download tool
Samba File sharing service
Sonarr Automated TV show download tool
Ntfy Push notifications
Pihole Network-wide ad blocker (I am also using this for DNS)
Reflector Reflection and proxying of Docker registries
Reloader Kubernetes controller to watch changes in ConfigMap and Secrets and trigger Pod restarts
Semaphore Continuous integration and delivery
Speedtest Internet speed testing tool
Traefik Edge router and load balancer

📦 Hardware

Device Count OS Disk Size Data Disk Size Ram Operating System Purpose
Turing RK1 4 2TB NVMe 8TB HDD (1x) 16GB Ubuntu Various purposes
Turing Pi 2 1 - - - - Cluster Platform

🤖 Automation

Renovate Bot makes sure the components are never outdated.

It creates PullRequests when Helm charts or Docker images have newer versions available and even keeps Flux and k3s up-to-date.

📝 Secrets

Flux supports SOPS in particular AGE, you can encrypt your secrets locally with age and then flux will decrypt them when it applies the manifests. All my secrets are encrypted on my local machine and decrypted by Flux when it applies the manifests.

🌐 DNS

I'm using Cloudflare for external DNS and have a wildcard A record pointing to my traefik instance. Internally I'm using PiHole for DNS resolution, these are injected into the pods via the hosts configmap.

About

This is the Kubernetes config for my home cluster, I use Flux to sync this and the cluster itself.

Topics

Resources

Stars

Watchers

Forks