8000 GitHub - zaivi/homelab: This repository contains my personal Kubernetes-based homelab, designed to efficiently run and manage home services using limited hardware resources. · GitHub
[go: up one dir, main page]

Skip to content
< 7FFF script type="application/json" data-target="react-partial.embeddedData">{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2FgitHub.com%2Fzaivi%2Fhomelab","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E\u0026source=header-repo\u0026source_repo=zaivi%2Fhomelab","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://gitHub.com/zaivi/homelab\",\"user_id\":null}}","auth_hydro_click_hmac":"484ab19e854843fc7faf38247b8c076ccf64d435bfd300f5d48b316e81d745d9"}}
zaiviPublic

About

This repository contains my personal Kubernetes-based homelab, designed to efficiently run and manage home services using limited hardware resources.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🏠 Homelab

This repository contains my personal Kubernetes-based homelab, designed to efficiently run and manage home services using limited hardware resources.

🎯 Goal: Build a lightweight, efficient, and scalable Kubernetes platform for home usage.


📚 Overview

This homelab focuses on:

  • ⚖️ Efficient resource usage (CPU, RAM, Storage)
  • 🧩 Running multiple services on minimal hardware
  • 🔁 Automation and self-healing workloads
  • 📊 Observability and monitoring
  • 🏠 Self-hosting everyday services

🧠 Design Principles

  • Lightweight first → optimized for low-power machines
  • Container-native → everything runs in Kubernetes
  • Declarative setup → GitOps-ready configs
  • Cost-efficient → no unnecessary resource waste
  • Highly observable → full monitoring stack

🏗️ Architecture

flowchart LR;
    zaivi((zaivi))
    zaivi_via_tailscale((zaivi))
    router{{router}}

    zaivi -- 192.168.1.110:30000 --> webserver
    zaivi -- 192.168.1.110:30001 --> clickhouse_monitoring
    zaivi -- 192.168.1.110:18789 --> openclaw_core
    zaivi -- 192.168.1.110:{8123, 9000} --> clickhouse_homelab
    zaivi -- 192.168.1.110:80 --> pihole

    zaivi_via_tailscale -- tailscale ip --> airflow[proxy-airflow] & clickhouse[proxy-clickhouse] & openclaw[proxy-openclaw]

    router -- 192.168.1.110:53 --> pihole

    subgraph "microk8s"
        subgraph ns_airflow
            direction TB
            postgres[(postgres)]
            webserver <-.-> postgres <-.-> scheduler -. redis .-> worker
            postgres <-.-> worker
            postgres <-.-> triggerer
        end

        subgraph ns_clickhouse
            direction BT
            clickhouse_operator --> clickhouse_operator
            clickhouse_operator -. provisioning .-> clickhouse_homelab
            clickhouse_homelab[(clickhouse_homelab)]
            clickhouse_monitoring --> clickhouse_homelab
        end

        subgraph ns_openclaw
            direction TB
            openclaw_core[Gateway]
            openclaw_agent[OpenClaw Agent]
            openclaw_memory[Memory Search]
            openclaw_executor[Tool Executor]
            openclaw_prompt[Prompt Builder]
            openclaw_tools[Tools & Capabilities]

            openclaw_core --> openclaw_agent
            openclaw_agent --> openclaw_memory
            openclaw_agent --> openclaw_executor
            openclaw_agent --> openclaw_prompt
            openclaw_agent --> openclaw_tools
        end

        subgraph ns_pihole
            direction TB
            pihole
        end

        subgraph ns_tailscale
            direction TB
            tailscale_operator
            tailscale_operator -.-> airflow[proxy-airflow]
            tailscale_operator -.-> clickhouse[proxy-clickhouse]
            tailscale_operator -.-> openclaw[proxy-openclaw]
            tailscale_operator -.-> etc[...]
        end

        subgraph ns_kubeseal
            sealed_secret_controller
        end
    end;
Loading

About

This repository contains my personal Kubernetes-based homelab, designed to efficiently run and manage home services using limited hardware resources.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

0