Homelab K8s-Gitops

GitOps state for my cluster using flux v2

Discord k3s GitHub issues GitHub last commit


Overview

Secret Management

All secret management is handled via SOPS and Flux variable expansion.

Hardware

Cluster is 3 built 1u servers with the following hardware.

  • Inwin 1W-RF100S Chassis
  • ASRock Rack E3C246D2I
  • Intel Core i3-9100
  • 16GB Memory
  • 128GB M.2 2242 SSD (OS)
  • 2x 6TB HGST Ultrastar (longhorn)

Cluster

Below is the layout of the cluster resource files and what is contained. they are listed in the order they get loaded.

  • base - "flux bootstrap"
    • flux-system - flux gitops controllers & configuration
  • crds - custom resource definitions
  • namespaces - self explainatory
  • operators - operators that handle/manage resources
  • core - underlying infrastructure services
    • cert-manager - handles tls certificates
    • hardware - node feature discovery
    • kasten - k10 backup system
    • metallb - bgp load balancers
    • rook-ceph - PVC storage
  • apps
    • dev - development tools
    • home - home automation
    • media - media management
    • network - networking related tools
    • services - general services
    • system-ingress - ingress related resources
    • system-monitor - grafana/prometheus/loki stack