Skip to content

nklmilojevic/home

Repository files navigation

home

My home setup with all things needed for managing media, home automation and more.

Setup overview

Network setup

NAS

As I really appreciate the silence, the goal was to build/get machines that are either passive or very silent.

NAS is running Ubuntu 22.04. Snapraid is used for software raid, and mergerfs is used to have unified filesystem for disks. One disk is parity drive and the other two are in mergerfs pool which in total gives out around 15TB of space. The setup for storage server is in ansible part of this repo.

k3s

This small and very silent machine is currently a single k3s node. It has 24GB RAM and i5-8259U which is more than enough for all the things that I'm running.

Core software:

  • flux - GitOps operator for managing Kubernetes clusters from a Git repository
  • kube-vip - Load balancer for the Kubernetes control plane nodes
  • metallb - Load balancer for Kubernetes services
  • cert-manager - Operator to request SSL certificates and store them as Kubernetes resources
  • calico - Container networking interface for inter pod and service networking
  • external-dns - Operator to publish DNS records to Cloudflare (and other providers) based on Kubernetes ingresses
  • k8s_gateway - DNS resolver that provides local DNS to your Kubernetes ingresses
  • ingress-nginx - Kubernetes ingress controller used for a HTTP reverse proxy of Kubernetes ingresses
  • cloudflared - Secure access without port forwarding on router
  • local-path-provisioner - provision persistent local storage with Kubernetes
  • onepassword-connect - access secrets for cluster apps
  • external-secrets - connects to onepassword-connect and provisions k8s secrets
  • nfs-subdir-external-provisioner - PVCs on NFS
  • reloader - reloads apps on specific triggers (configmap, secret change, etc)

Home automation:

Media:

Network

Other

Everything is plugged into APC UPS, including router and switch. Total power used for all devices is 96W, with peaks up to 150W in full load.

Rack picture