Skip to content

Kubernetes Homelab - Built on Talos Linux and managed with GitOps using ArgoCD and Renovate.

License

Notifications You must be signed in to change notification settings

prankstr/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homelab

Homelab-gif


Talos   Kubernetes   Renovate

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

📖 Overview

Kubernetes Homelab built on Talos Linux, managed with GitOps using ArgoCD and Renovate.

This repo is the source for my GitOps deployments as well as my personal knowledge bank with notes for my homelab. I decided to make it public in case someone finds it useful or interesting.

Currently most of the content is regarding my Kubernetes cluster and the applications I run on it. I'm looking to expand it with more general homelab stuff as well as time goes on.

🛠️ Hardware

The core of my homelab is a single server but it's sufficiently beefy to run everything I need. Specs:

  • Motherboard: Gigabyte MC12-LE0. Cheap server motherboard with IPMI that uses regular Ryzen CPUs.
  • CPU: AMD Ryzen 3700X.
  • RAM: 64GB of ECC memory.
  • Boot Storage/Proxmox storage: ZFS mirror with 2x500GB NVME drives.
  • Data Storage: ZFS RAIDZ1 array with 3 WD RED 3TB drives.

🥡 Software and Applications

Since I have just the one server I virtualize everything from my router and other infrastructure applications to Kubernetes.

  • Proxmox VE(BM): Debian and KVM based hypervisor. Everything runs on top of this.
  • OPNsense(VM): FreeBSD based firewall and router. No, virtualizing your router/firewall isn't optimal but it's a calculated risk.
  • UniFi Network Server(LXC): Used to manage my UniFi devices.
  • AdGuard Home(LXC): Network-wide ad blocking, integrated with external-dns in Kubernetes.
  • TrueNAS SCALE(VM): NAS software with the WD Reds passed through, used for storage to k8s cluster via democratic-csi and as traditional NAS storage on rare occassions.
  • Home Assistant(VM): Home automation engine.
  • Omni(LXC): Management tool for Talos Linux
  • Talos Linux Kubernetes Cluster(VMs): A three-node Talos Linux kubernetes cluster.

🚀 Kubernetes

I work with Kubernetes for a living so while some stuff might be overkill it helps me stay somewhat up to date with the tech which is essentially the goal of the homelab.

Here is an overview of the services I run, some of them have more detailed explanations and configuration notes in their respective folder in the kubernetes/apps folder.

Platform services

(i.e stuff that enables me to deploy and manage other stuff)

  • 1Password Connect Operator: Secret management. Sync secrets from 1Password to Kubernetes.
  • Argo CD: Facilitates GitOps. Automating the deployment of applications based on manifests in this git repo.
  • cert-manager: Automatically provisions and renews certificates.
  • democratic-csi: CSI provisioner for TrueNAS. Provisions persistent volumes backed by TrueNAS.
  • ExternalDNS: Integrated with AdGuard Home and automatically configures DNS records from Kubernetes.
  • Github ARC: Github Actions Runner Controller. Runs Github Actions runners in the cluster.
  • Grafana: Visualization tool. Used to visualize metrics from the cluster and other sources.
  • Ingress-Nginx: Ingress controller. A reverse proxy for services in the cluster.
  • K10: Backup solution for Kubernetes applications. Since I deploy with GitOps this is mainly used for backing up data.
  • MetalLB: Load balancer for bare metal Kubernetes clusters.
  • Renovate: Automated dependency update tool. Used to keep the manifests in this repo up to date.
  • VictoriaMetrics: Monitoring system for metrics and logs. Drop-in replacement for Prometheus.

Actual applications

  • Authentik: Self-hosted IDP(Identity provider). Borderline infra app but I mainly set it up for fun.
  • Headscale: Self-hosted Tailscale control server.
  • Kromgo: Sort of a reverse proxy for prometheus metrics.
  • Mealie: Self-hosted recepie manager.
  • Morphos: Self-hosted file converter.
  • Vikunja: Self-hosted todo app.

The ratio is a bit skewed but the platform stuff is where the learning is at 😎

About

Kubernetes Homelab - Built on Talos Linux and managed with GitOps using ArgoCD and Renovate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages