RepositoryHTMLNONorway
vehagn

vehagn/homelab

Configuration for my homelab running Talos Kubernetes provisioned with OpenTofu.

405stars
38forks
15issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: sonarr

#1 Repository of the month

1
TINIX TRENDING·Topic: plex-media-server

#1 Repository of the week

1
TINIX TRENDING·Topic: argocd

#1 Repository of the month

🪨 Homelab 🏡

Repository for home infrastructure and Kubernetes cluster using GitOps practices.

Held together using Proxmox VE, OpenTofu, Talos, Kubernetes, Argo CD and copious amounts of YAML with some help from Renovate.


📖 Overview

This repository hosts the IaC (Infrastructure as Code) configuration for my homelab.

The Homelab is backed by Proxmox VE hypervisor nodes with VMs bootstrapped using OpenTofu/Terraform.

Most of the services run on Talos flavoured Kubernetes, though I'm also running a TrueNAS VM for storage and Home Assistant VM for home automation.

To organise all the configuration, I've opted for an approach using Kustomized Helm with Argo CD which I've explained in more detail in this article.

I journal my homelab journey over at my self-hosted blog.

🧑‍💻 Getting Started

If you're new to Kubernetes, I've written a fairly thorough guide on Bootstrapping k3s with Cilium. In the article I try to guide you from a fresh Debian 12 Bookworm installation to a working cluster using the k3s flavour of Kubernetes with Cilium as a CNI and IngressController.

I've also written an article on how to get started with Kubernetes on Proxmox if virtualisation is more your thing.

The current iteration of my homelab runs on Talos Kubernetes and is set up according to this article.

🏃 Devcontainer

A devcontainer containing the required tools is available for this repository as ghcr.io/vehagn/homelab-devcontainer. See ./devcontainer for details.

⚙️ Core Components

  • Proxmox VE: Server management and KVM hypervisor.
  • OpenTofu: Open source infrastructure as code tool.
  • Cilium: eBPF-based Networking, Observability, Security.
  • Proxmox CSI Plugin: CSI driver for storage
  • Argo CD: Declarative, GitOps continuous delivery tool for Kubernetes.
  • Cert-manager: Cloud native certificate management.
  • Sealed-secrets: Encrypt your Secret into a SealedSecret, which is safe to store - even inside a public repository.
  • Authelia: open-source authentication and authorization server
  • Gateway API: Next generation of Kubernetes Ingress
  • AdGuardHome: Domain name server backed by Unbound
  • NetBird: Completely self hosted VPN solution
  • CloudNativePG: PostgreSQL database operator

🗃️ Folder Structure

.
├── 📂 docs                # Documentation
├── 📂 k8s                 # Kubernetes manifests
│   ├── 📂 apps            # Applications
│   ├── 📂 infra           # Infrastructure components
│   └── 📂 sets            # Bootstrapping ApplicationSets
└── 📂 tofu                # Tofu configuration
    ├── 📂 home-assistant  # Home Assistant VM
    └── 📂 kubernetes      # Kubernetes VM configuration
        ├── 📂 bootstrap   # Kubernetes bootstrap config
        └── 📂 talos       # Talos configuration 

🖥️ Hardware

NameDeviceCPURAMStoragePurpose
AbelCWWK 6 LAN PortIntel i3-N30548 GB DDR5-Control-plane
EuclidASUS ExpertCenter PN42Intel N10032 GB DDR4-Control-plane
CantorASUS PRIME N100I-D D4Intel N10032 GB DDR45x8TB HDD RaidZ2NAS/Control-plane
GaussDell Precision Tower 5810Xeon E5-1650 v364 GB DDR4 ECC14 TB HDDCompute

🏗️ Work in Progress

  • External DNS
  • Use BGP with Cilium and UniFi
  • Hajimari dashboard
  • Podcast client
  • Immich for photos
  • Nextcloud for files
  • Self-hosted git-solution (Gitea, GitLab, etc.)

👷‍ Future Projects

  • Explore Kanidm as an identity management platform
  • Explore other database operators
  • Implement LGTM-stack for monitoring
  • Local LLM
  • Dynamic Resource Allocation for GPU
  • Cilium mTLS & SPIFFE/SPIRE
  • Ceph for distributed storage
  • OPNSense/pfSense/OpenWRT

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
Maintainerr/Maintainerr

Looks and smells like Seerr, does the opposite. A library maintenance tool for Plex, Jellyfin and Emby.

2.5k
Dec 1, 2026
RepositoryPython
Luctia/ezarr

Ezarr aims to make it as easy as possible to setup an entire Servarr/Jackett/BitTorrent/Usenet/PleX/Jellyfin mediacenter stack using Docker

1.1k
Aug 11, 2026
RepositoryTypeScript
seerr-team/seerr

Open-source media request and discovery manager for Jellyfin, Plex, and Emby.

13.4k
Nov 30, 2026
RepositoryPHP
causefx/Organizr

HTPC/Homelab Services Organizer - Written in PHP

5.8k
May 19, 2026
RepositoryShell
SimpleHomelab/Docker-Traefik

Docker media and home server stack with Docker Compose, Traefik, CrowdSec, Google OAuth2/Authelia, and LetsEncrypt. Built with Deployrr and UDMS guides/videos.

3.4k
Nov 8, 2026
RepositoryShell
Cloudbox/Cloudbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.

2.4k
Mar 15, 2023
RepositoryShell
RandomNinjaAtk/arr-scripts

Extended Container Scripts - Automation scripts to make life easier!

1.5k
Oct 1, 2026
RepositoryGo
mescon/Muximux

A self-hosted homelab dashboard with an optional built-in reverse proxy that makes stubborn apps work in iframes

1.2k
Nov 25, 2026
RepositoryPython
Boerderij/Varken

Standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana as a frontend

1.2k
Aug 7, 2024