{"id":26851223,"url":"https://github.com/tholinka/home-ops","last_synced_at":"2026-05-05T07:33:00.215Z","repository":{"id":283140400,"uuid":"950808366","full_name":"tholinka/home-ops","owner":"tholinka","description":"Home Operations driven by k8s cluster deployed with Talos Linux; automated via Flux, Renovate, and GitHub Actions 🤖 ","archived":false,"fork":false,"pushed_at":"2025-03-25T19:37:59.000Z","size":495,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T20:27:14.038Z","etag":null,"topics":["flux","gitops","home-operations","homelab","iac","k8s","k8s-at-home","kubernetes","kubesearch","renovate","selfhosted","talos","taskfile"],"latest_commit_sha":null,"homepage":"https://discord.gg/home-operations","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tholinka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T18:03:06.000Z","updated_at":"2025-03-25T19:38:03.000Z","dependencies_parsed_at":"2025-03-18T19:43:21.181Z","dependency_job_id":"b6f1eb36-fd27-4f2f-94d9-8d93ce029f64","html_url":"https://github.com/tholinka/home-ops","commit_stats":null,"previous_names":["tholinka/home-ops"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tholinka%2Fhome-ops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tholinka%2Fhome-ops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tholinka%2Fhome-ops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tholinka%2Fhome-ops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tholinka","download_url":"https://codeload.github.com/tholinka/home-ops/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246385550,"owners_count":20768697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flux","gitops","home-operations","homelab","iac","k8s","k8s-at-home","kubernetes","kubesearch","renovate","selfhosted","talos","taskfile"],"created_at":"2025-03-30T22:19:06.373Z","updated_at":"2026-05-05T07:33:00.209Z","avatar_url":"https://github.com/tholinka.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD041 --\u003e\u003cdiv align=\"center\"\u003e\n\n\u003cimg alt=\"tholinka's avatar\" src=\"https://avatars.githubusercontent.com/u/1685504?v=4\" align=\"center\" width=\"144px\" height=\"144px\"/\u003e\n\n### \u003cimg src=\"https://fonts.gstatic.com/s/e/notoemoji/latest/1f680/512.gif\" alt=\"🚀\" width=\"16\" height=\"16\"\u003e My Home Operations Repository \u003cimg src=\"https://fonts.gstatic.com/s/e/notoemoji/latest/1f6a7/512.gif\" alt=\"🚧\" width=\"16\" height=\"16\"\u003e\n\n_... managed with Flux, Renovate, and GitHub Actions_ \u003cimg src=\"https://fonts.gstatic.com/s/e/notoemoji/latest/1f916/512.gif\" alt=\"🤖\" width=\"16\" height=\"16\"\u003e \u003c!-- markdownlint-disable MD036 --\u003e\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Discord](https://img.shields.io/discord/673534664354430999?style=for-the-badge\u0026label\u0026logo=discord\u0026logoColor=white\u0026color=blue)](https://discord.gg/home-operations)\u0026nbsp;\u0026nbsp;\n[![Talos](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Ftalos_version\u0026style=for-the-badge\u0026logo=talos\u0026logoColor=white\u0026color=blue\u0026label=%20)](https://talos.dev)\u0026nbsp;\u0026nbsp;\n[![Kubernetes](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fkubernetes_version\u0026style=for-the-badge\u0026logo=kubernetes\u0026logoColor=white\u0026color=blue\u0026label=%20)](https://kubernetes.io)\u0026nbsp;\u0026nbsp;\n[![Flux](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fflux_version\u0026style=for-the-badge\u0026logo=flux\u0026logoColor=white\u0026color=blue\u0026label=%20)](https://fluxcd.io)\u0026nbsp;\u0026nbsp;\n[![Renovate](https://img.shields.io/badge/powered_by-Renovate-blue?style=for-the-badge\u0026logo=renovate)](https://www.mend.io/renovate/)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Home-Internet](https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fac444cd2-7900-45fa-a378-6aa1bc%2FupHDdMTq.shields?color=brightgreeen\u0026label=Home%20Internet\u0026style=for-the-badge\u0026logo=ubiquiti\u0026logoColor=white)](https://status.tholinka.dev)\u0026nbsp;\u0026nbsp;\n[![Status-Page](https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fac444cd2-7900-45fa-a378-6aa1bc%2FupHDdMTq.shields?color=brightgreeen\u0026label=Status%20Page\u0026style=for-the-badge\u0026logo=statuspage\u0026logoColor=white)](https://status.tholinka.dev)\u0026nbsp;\u0026nbsp;\n[![Alertmanager](https://img.shields.io/endpoint?url=https%3A%2F%2Fhealthchecks.io%2Fbadge%2Fac444cd2-7900-45fa-a378-6aa1bc%2FupHDdMTq.shields?color=brightgreeen\u0026label=Alertmanager\u0026style=for-the-badge\u0026logo=prometheus\u0026logoColor=white)](https://status.tholinka.dev)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Age-Days](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_age_days\u0026style=flat-square\u0026label=Age)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Uptime-Days](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_uptime_days\u0026style=flat-square\u0026label=Uptime)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Node-Count](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_node_count\u0026style=flat-square\u0026label=Nodes)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Pod-Count](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_pod_count\u0026style=flat-square\u0026label=Pods)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![CPU-Usage](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_cpu_usage\u0026style=flat-square\u0026label=CPU)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Memory-Usage](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_memory_usage\u0026style=flat-square\u0026label=Memory)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Cluster Power-Usage](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_power_usage\u0026style=flat-square\u0026label=Cluster%20Power)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Internet Power-Usage](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Finternet_power_usage\u0026style=flat-square\u0026label=Internet%20Power)](https://github.com/kashalls/kromgo)\u0026nbsp;\u0026nbsp;\n[![Alerts](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.tholinka.dev%2Fcluster_alert_count\u0026style=flat-square\u0026label=Alerts)](https://github.com/kashalls/kromgo)\n\n\u003c/div\u003e\n\n## 💡 Overview\n\nThis is a mono repository for my home infrastructure and Kubernetes cluster. I try to adhere to Environment as Code (EaC), Infrastructure as Code (IaC) and GitOps practices using tools like [Kubernetes](https://kubernetes.io/), [Flux](https://github.com/fluxcd/flux2), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Actions](https://github.com/features/actions).\n\n## \u003cimg src=\"https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/logo/logo.svg\" alt=\"🌱\" width=\"20\" height=\"20\"\u003e Kubernetes\n\nMy Kubernetes cluster is deployed with [Talos](https://www.talos.dev). This is a semi-hyper-converged cluster, workloads and block storage are sharing the same available resources on my nodes while I have a separate server with BTRFS for NFS/SMB shares, bulk file storage and backups.\n\n### Core Components\n\n- [actions-runner-controller](https://github.com/actions/actions-runner-controller): Self-hosted Github runners.\n- [cert-manager](https://github.com/cert-manager/cert-manager): Creates SSL certificates for services in my cluster.\n- [cilium](https://github.com/cilium/cilium): eBPF-based networking.\n- [cloudflared](https://github.com/cloudflare/cloudflared): Enables Cloudflare secure access to routes.\n- [external-dns](https://github.com/kubernetes-sigs/external-dns): Automatically syncs ingress DNS records to Cloudflare and Unifi.\n- [external-secrets](https://github.com/external-secrets/external-secrets): Managed Kubernetes secrets using [Bitwarden Secrets Manager](https://github.com/external-secrets/bitwarden-sdk-server/).\n- [rook](https://github.com/rook/rook): Distributed block storage for persistent storage.\n- [spegel](https://github.com/spegel-org/spegel): Stateless cluster local OCI registry mirror. No more image pull backoff.\n- [volsync](https://github.com/backube/volsync): Automatic backup and recovery of persistent volume claims to NFS and Cloudflare R2. Lose nothing when the cluster blows up!\n\n### GitOps\n\n[Flux](https://github.com/fluxcd/flux2) watches the clusters in my [kubernetes](./kubernetes/) folder (see Directories below) and makes the changes to my clusters based on the state of my Git repository.\n\nThe way Flux works for me here is it will recursively search the `kubernetes/apps` folder until it finds the most top level `kustomization.yaml` per directory and then apply all the resources listed in it. That aforementioned `kustomization.yaml` will generally only have a namespace resource and one or many Flux kustomizations (`ks.yaml`). Under the control of those Flux kustomizations there will be a `HelmRelease` or other resources related to the application which will be applied.\n\n[Renovate](https://github.com/renovatebot/renovate) watches my **entire** repository looking for dependency updates, when they are found a PR is automatically created. When some PRs are merged Flux applies the changes to my cluster.\n\n### Directories\n\nThis Git repository contains the following directories under [Kubernetes](./kubernetes/).\n\n```sh\n📁 kubernetes\n├── 📁 apps             # applications\n├── 📁 bootstrap        # bootstrap procedures\n└── 📁 flux             # flux system configuration\n  ├── 📁 components     # re-useable components used by apps\n  └── 📁 meta\n    └── 📁 repositories # sources for flux, e.g. helm charts\n```\n\n### Flux Workflow\n\nThis is a high-level look how Flux deploys my applications with dependencies. In most cases a `HelmRelease` will depend on other `HelmRelease`'s, in other cases a `Kustomization` will depend on other `Kustomization`'s, and in rare situations an app can depend on a `HelmRelease` and a `Kustomization`.\n\n## 🌐 Networking\n\n```mermaid\ngraph TD\n  A\u003eAT\u0026T Fiber]\n  A --\u003e |ONT is WAS-110 with 8311 Community Firmware| A1([This allows IPv6 on all VLANs])\n  A --\u003e |1Gb/1Gb through 10Gb SFP ONT| R\n  B\u003eT-Mobile Home Internet - Wireless] --\u003e |Failover, 300ish down| R\n  B --\u003e |😭|B1([No IPv6 at all on UniFi])\n  R\u003eUniFi Cloud Gateway Fiber]\n  R --\u003e |2.5GbE or 1GbE| DESK([Desktop, NVR, etc])\n  S2 --\u003e |2.5GbE| S1\n  R --\u003e |10GbE| S2\n  S1\u003eUniFi Switch Flex]\n  S2\u003eUSW Pro HD 24]\n  S1 --\u003e |2.5GbE| W\n  W\u003eUniFi U7 Pro]\n  W --\u003e |WiFi|W1([ssid])\n  W --\u003e |IoT WiFi\u003cbr\u003eVLAN iot|W2([ssid iot])\n    W --\u003e |Guest WiFi\u003cbr\u003eVLAN guest|W3([ssid guest])\n  S1 --\u003e D([Devices])\n  S2 --\u003e|2.5GbE| K([7 Kubernetes nodes])\n  S2 --\u003e|1GbE| P([Raspberry Pi 4b with Z-Wave GPIO Hat])\n  S2 --\u003e|1GbE| KVM([PiKVM v3])\n  S2 --\u003e |2x 10G SFP+ Bonded| N([NAS])\n```\n\n### 🏘️ VLANs\n\n| Name             | ID  | CIDR IPv4       |\n| ---------------- | --- | --------------- |\n| WAS-110          | -   | 192.168.11.0/24 |\n| T-Mobile Gateway | -   | 192.168.12.0/24 |\n| Default          | 1   | 192.168.5.0/24  |\n| servers          | 20  | 192.168.20.0/24 |\n| services         | 21  | 192.168.21.0/24 |\n| iot              | 30  | 192.168.30.0/24 |\n| guest            | 40  | 192.168.40.0/24 |\n\n### 🌎 DNS\n\nIn my cluster there are three instances of [ExternalDNS](https://github.com/kubernetes-sigs/external-dns) running. One syncs the public DNS to `Cloudflare`. The second syncs to `Pi-Hole`, which is the primary internal dns. This setup is managed by creating two gateways, `internal` and `external`. `internal` is only exposed internally, whereas `external` is exposed both internally and through `Cloudflare.` There is an extra instance of PiHole running on my NAS in docker to handle cluster bootstrapping.\n\n### 🏠 Home DNS\n\n```mermaid\ngraph TD\n  A\u003einternal-external-dns] --\u003e|Updates Primary Instance|D\n  N\u003enebula-sync] --\u003e |Updates Secondary Instances based on Primary|D\n  C\u003eAnswers Request]\n  D[PiHole] --\u003e|Blocked, Cluster, or custom hosts|C\n  D --\u003e|Forwards other requests|E[DNSCrypt-Proxy]\n  E[DNSCrypt-Proxy] --\u003e|Forwards requests to DNSCrypt or DoH resolver|C\n```\n\n## ☁️ Cloud Dependencies\n\nWhile most of my infrastructure and workloads are self-hosted I do rely upon the cloud for certain key parts of my setup. This saves me from having to worry about three things. (1) Dealing with chicken/egg scenarios, (2) services I critically need whether my cluster is online or not and (3) The \"hit by a bus factor\" - what happens to critical apps (e.g. Email, Password Manager, Photos) that my family relies on when I no longer around.\n\nAlternative solutions to the first two of these problems would be to host a Kubernetes cluster in the cloud and deploy applications like [HCVault](https://www.vaultproject.io/), [Vaultwarden](https://github.com/dani-garcia/vaultwarden), [ntfy](https://ntfy.sh/), and [Gatus](https://gatus.io/); however, maintaining another cluster and monitoring another group of workloads would be more work and probably be more or equal out to the same costs as described below.\n\n| Service                                            | Use                                                            | Cost            |\n| -------------------------------------------------- | -------------------------------------------------------------- | --------------- |\n| [Bitwarden Secret Manager](https://1password.com/) | Secrets with [External Secrets](https://external-secrets.io/)  | Free            |\n| [Cloudflare](https://www.cloudflare.com/)          | Domain and S3                                                  | ~$50/yr         |\n| [GCP](https://cloud.google.com/)                   | Voice interactions with Home Assistant over Google Assistant   | Free            |\n| [GitHub](https://github.com/)                      | Hosting this repository and continuous integration/deployments | Free            |\n| [Pushover](https://pushover.net/)                  | Kubernetes Alerts and application notifications                | $5 OTP          |\n| [Fastmail](https://fastmail.com)                   | E-Mail                                                         | ~$56/yr         |\n|                                                    |                                                                | Total: ~$110/yo |\n\n## 🖥️ Hardware\n\n| Num | Device                           | CPU      | RAM           | OS Disk                       | Data Disks                                                                                          | OS                 | Function                                           |\n| --- | -------------------------------- | -------- | ------------- | ----------------------------- | --------------------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------- |\n| 3   | Lenovo ThinkCentre M700 Tiny     | i5-6400T | 16GB of DDR4  | 512 GB SSD                    | 512 GB SATA NVMe                                                                                    | Talos              | Kubernetes                                         |\n| 1   | HP EliteDesk 800 G5 Desktop Mini | i5-9500T | 64 GB of DDR4 | 256 GB PCIe 3 NVMe            | 512 GB PCIe 3 NVMe                                                                                  | Talos              | Kubernetes                                         |\n| 1   | HP ProDesk 400 G4 Desktop Mini   | i5-8500T | 16 GB of DDR4 | 256 GB SSD                    | 512 GB PCIe 3 NVMe                                                                                  | Talos              | Kubernetes                                         |\n| 2   | HP ProDesk 400 G5 Desktop Mini   | i5-9500T | 32 GB of DDR4 | 256 GB PCIe3 NVMe             | -                                                                                                   | Talos              | Kubernetes                                         |\n| 1   | Raspberry Pi 4b                  | -        | 2GB           | 256GB SD card                 | -                                                                                                   | Talos              | Kubernetes\u003cbr\u003e+ a ZAC93 GPIO module for Z-Wave 800 |\n| 1   | Raspberry Pi 4b with PiKVM Hat   | -        | 2GB           | 256GB SD card                 | -                                                                                                   | Arch Linux (PiKVM) | PiKVM                                              |\n| 1   | self built NAS                   | i7-6700k | 32GB of DDR4  | Raid 1: 2x 512 GB PCIe 3 NVMe | BTRFS Raid 1:\u003cbr\u003e- 2x 4TB WD Red\u003cbr\u003e- 16 TB WD Gold Enterprise\u003cbr\u003e - 5x WD Ultrastar DC HC550 18 TB | Arch Linux         | Large Files and Backups                            |\n\n## 🙏 Thanks\n\nThanks to all the people in the [Home Operations](https://discord.gg/home-operations) Discord.\n\nThe awesome [kubesearch.dev](kubesearch.dev), large parts of this are inspired by various work found through the search.\n\n### Extra Special Thanks\n\n- [onedr0p](https://github.com/onedr0p) for his awesome [cluster-template](https://github.com/onedr0p/cluster-template), which this was originally based on, and his [home-ops](https://github.com/onedr0p/home-ops), which large portions of this were inspired by.\n- [bjw-s](https://github.com/bjw-s-labs/) for his amazing [app-template](https://github.com/bjw-s/helm-charts).\n- The home-operations community, [github](https://github.com/home-operations) and [discord](https://discord.gg/home-operations).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftholinka%2Fhome-ops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftholinka%2Fhome-ops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftholinka%2Fhome-ops/lists"}