Skip to content
프로젝트

소개

Homernetes is a Talos OS based K8s cluster for my homelab.

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • Automated Bootstrap: Fully declaritive pipeline for complete cluster provisioning from bare metal in under 10 mins.
  • Container registry.
  • Home-wide ad blocker and DNS.
  • Internal certificate authority.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

H8s (Homernetes)

Kubernetes Talos Linux Cilium ArgoCD chart Nix Flakes Stars

H8s is a home infrastructure project that combines the power of Kubernetes with the security-first approach of Talos OS. This project provides a my setup, designed specifically for home labs and personal cloud environments.

This cluster uses 3 mini PCs, both retrofitted with extra RAM and NVME SSDs. They are happily tucked away under my TV :).

Motivations

Doing a homelab Kubernetes cluster has been a source of a lot of joy for me personally. I got these mini PCs as I wanted to learn as much as possible when it came to:

  • Best DevOps and SWE practices.
  • Sharpen my Kubernetes skills (at work I heavily use Kubernetes).
  • Bring some of the stack back back within my control.
  • Self-host things that I find useful.

Most importantly: I find it fun! It keeps me excited and hungry at work and on my other personal projects.

Features

  • Automated Bootstrap: Fully declaritive pipeline for complete cluster provisioning from bare metal in under 10 mins.
  • Container registry.
  • Home-wide ad blocker and DNS.
  • Internal certificate authority.
  • Routing to private services only accessible at home.
  • Secrets management.
  • Kubernetes vulnerability and configuration scanning with Trivy Operator.
  • Metric and log observability.
  • Full CI/CD capabilities.
  • Internet access to services via Cloudflare. Give these a try:
  • Postgres databases for Authelia and Harbor.
  • Full network encryption, observability, IPAM, kube-proxy replacement and L2 annoucements with Cilium.

Repo Structure

├── applications
│   ├── bookorbit                   | Self-hosted library and reading platform.
│   ├── chhoto-url                  | Self-hosted URL shortener.
│   ├── excalidraw                  | Self-hosted Excalidraw.
│   ├── forgejo                     | Self-hosted Git hosting.
│   ├── mazanoke                    | Browser-based image optimizer.
│   ├── personal-website            | My website at okwilkins.dev.
│   └── searxng                     | Privacy-focused metasearch engine.
├── ci-cd
│   ├── argo-events                 | Event-driven workflow triggers.
│   ├── argo-workflows              | CI/CD pipelines (WIP).
│   ├── argocd                      | GitOps CD for Kubernetes resources.
│   └── renovate                    | Automated dependency updates.
├── images                          | Images that are built and used in various projects.
├── infrastructure                  | 8-stage Terraform pipeline for cluster bootstrapping from bare metal via Proxmox and Talos + platform configuration.
├── namespaces                      | Holds all namespaces for the cluster.
├── networking
│   ├── cert-manager                | Certificate controller for the self-hosted certificate authority.
│   ├── cilium                      | The cluster's eBPF CNI.
│   ├── cloudflared                 | Allows Cloudflare to ingress internet traffic in.
│   ├── coredns                     | Home-wide DNS services and ad-blocking.
│   └── gateways                    | Ingress and networking routing management.
├── observability
│   ├── fluent-bit                  | Metrics/logs/traces collection, processing and forwarding.
│   ├── grafana                     | Metrics and log observability.
│   ├── prometheus                  | Metrics collection.
│   └── victoria-logs               | Log storage and query engine.
├── security
│   ├── authelia                    | Authentication and authorisation server with SSO and MFA.
│   ├── cosign                      | Secrets to sign containers and binaries going to Harbor.
│   ├── crowdsec                    | Detect gateway scanners and block them at Cloudflare.
│   ├── external-secrets-operator   | Syncs secrets from Vault into the cluster.
│   ├── trivy-operator              | Kubernetes vulnerability and configuration scanning.
│   └── vault                       | Secrets storage and certificate authority.
└── storage
    ├── cloudnative-pg              | PostgreSQL database management for applications.
    ├── harbor                      | Container and binary registry.
    └── longhorn                    | Cluster CSI.

Getting Started

CLI Tools

This repo uses Nix Flakes to install all dependencies to run all commands and scripts. To get started:

  1. Enable experimental-features. Read the Nix Flakes wiki for more information.
  2. Run the following to drop into a shell with all dependencies:
nix shell

Taskfile

The Taskfile.yaml is used for useful commands orchestration. To get a list of available functionality, within any directory of this repo run:

task

관련 프로젝트 살펴보기

불러오는 중…