A production-grade GitOps-managed Kubernetes homelab running on hybrid infrastructure β local ARM/x86 nodes and Oracle Cloud free-tier VMs. Built for real operational use: local LLM inference, AI agent infrastructure (MCP servers), workflow automation, monitoring, and self-hosted tooling.
All cluster state is declarative and GitOps-driven via Flux CD. No manual
kubectl applyin production paths.
| Homelab tour | MCP + OpenWebUI on Kubernetes | Grafana monitoring |
|---|---|---|
![]() |
![]() |
![]() |
| Kubernetes Homelab Walkthrough | MCP + OpenWebUI Integration | Grafana Monitoring Dashboard |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β KUBERNETES CLUSTER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Control Plane: orangepi6plus (192.168.8.236) β
β β
β Workers: β
β β’ quinn-hpprobook430g6 (192.168.8.162) - Main workloads β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Networking: Calico (VXLAN) β
β GitOps: Flux CD β
β Ingress: NGINX + MetalLB (192.168.8.40-192.168.8.99) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key design decisions:
- Flux CD for GitOps β all reconciliation is pull-based from this repo
- Calico VXLAN for pod networking across heterogeneous node hardware
- MetalLB for bare-metal LoadBalancer IPs (no cloud LB dependency)
- SOPS + Age for secret encryption β secrets committed to git, never plaintext
- HelmRelease + Kustomization layering for environment-specific overrides
| Service | URL | Description |
|---|---|---|
| OpenWebUI | http://openwebui.k8s.local | Local LLM chat interface (Ollama backend) |
| Grafana | http://grafana.k8s.local | Dashboards & monitoring |
| Prometheus | http://prometheus.k8s.local | Metrics collection & alerting |
| n8n | http://n8n.k8s.local | Workflow automation & AI pipelines |
| changedetection.io | http://changedetection.k8s.local | Growth OS page-change triggers (LAN UI; ClusterIP for n8n) |
| Homepage | http://homepage.k8s.local | Service dashboard |
| Ansible AWX | http://awx.k8s.local | Automation & config management |
| Paperclip | https://paperclip.k8s.local | AI-agent organization/orchestration control plane |
| MCPO Gateway | http://mcpo.k8s.local/docs | OpenAPI proxy for MCP servers |
| Context Forge | http://mcp.k8s.local | Dynamic MCP server hub |
Qdrant and Phoenix remain in the Flux resource list, but the root
apps/base/kustomization.yaml overrides each Deployment to replicas: 0.
Their Services, Ingresses, PVCs, PostgreSQL data and original code remain
managed and preserved; they are not decommissioned. Homepage should continue
to show both as unavailable until restarted.
| Paused service | Impact while offline |
|---|---|
Qdrant (qdrant.k8s.local) |
OpenWebUI document/RAG retrieval and Qdrant-backed n8n workflows unavailable |
Phoenix (phoenix.k8s.local) |
OTLP trace collection/UI unavailable; OpenWebUI and Alloy may report retry/export errors |
Plain OpenWebUI chat can still operate without these integrations, but actual end-to-end behavior must be checked after Flux reconciles. This is a temporary operator-directed resource reduction; the cluster's recent usage metrics were not available from GitHub.
To restore one service, change its root replicas override count: 0
to count: 1, commit to the Flux-tracked branch, and check the Deployment
rollout and retained data. Do not comment out ./qdrant or ./phoenix
in the root resource list: Flux has prune: true and could delete PVCs.
K8SHomelab/
βββ apps/base/ # Kubernetes manifests (HelmReleases, Deployments, ConfigMaps)
β βββ grafana/ # Grafana + pre-built dashboards
β βββ prometheus/ # Prometheus HelmRelease + alerting rules
β βββ openwebui/ # Local LLM chat interface
β βββ mcp-servers/ # Context Forge, MCPO gateway, Ansible MCP
β βββ ansible/ # Ansible AWX operator deployment
β βββ n8n/ # n8n workflow automation
β βββ ... # Additional apps
βββ clusters/my-homelab/ # Flux Kustomization entrypoints
βββ scripts/ # Cluster bootstrap and maintenance scripts
βββ docs/ # Network, security, and architecture documentation
This cluster runs a self-hosted Model Context Protocol (MCP) stack, making local and cloud LLMs agent-capable against real infrastructure:
- MCPO Gateway β OpenAPI-compatible proxy that exposes MCP servers as REST endpoints, enabling any LLM client to call them without native MCP support
- Context Forge β Dynamic MCP server hub for routing agent requests to the right backend
- OpenWebUI β Frontend for local Ollama models with tool-use and agent pipeline support
- n8n β Low-code AI workflow automation, integrated with MCP endpoints and external APIs
- Phoenix β LLM observability: traces, evals, and prompt monitoring
- Paperclip β AI-agent business/control-plane layer for goals, org structure, work, budgets, approvals, and execution coordination
git add -A && git commit -m "message" && git push
flux reconcile kustomization apps --with-sourcekubectl get pods -n apps -o wide
flux get all -A192.168.8.40 homepage.k8s.local openwebui.k8s.local grafana.k8s.local prometheus.k8s.local n8n.k8s.local changedetection.k8s.local mcpo.k8s.local mcp.k8s.local pgadmin.k8s.local qdrant.k8s.local awx.k8s.local jupyter.k8s.local phoenix.k8s.local mongo-express.k8s.local authentik.k8s.local redisinsight.k8s.local groupme.k8s.local paperclip.k8s.local
- Secrets managed via SOPS with Age encryption β encrypted at rest, safe to commit
- Credentials stored in encrypted
postgres-credentialsand per-app secrets - No hardcoded values in any manifest
- Detailed guide: docs/SECURITY.md
| Document | Description |
|---|---|
| AGENT_CONTEXT.md | Context file for AI agents working in this repo |
| SETUP_SUMMARY.md | Complete cluster setup guide |
| FLUX_JENKINS_INTEGRATION.md | Flux + Jenkins CI/CD integration |
| docs/NETWORK.md | Network architecture & IP allocation |
| apps/base/mcp-servers/README.md | MCP server deployment guide |
| apps/base/paperclip/README.md | Paperclip deployment, architectural role, and productionization guidance |
| docs/SUPABASE_KNOWLEDGE_LAYER_REFERENCE.md | Reference Postgres + pgvector business-knowledge layer and Drive sync/ACL pattern |
| docs/GROWTH_OS_INFRASTRUCTURE.md | Homelab runtime boundary for Growth OS (n8n, Paperclip, SearXNG, changedetection) |
| docs/CLUSTER_HEALTH_2026-10-21.md | Full upgrade receipt, recovery points, node repairs and stability checks |
| docs/CLUSTER_HEALTH_2026-10-13.md | Verified wired-ingress repair and Paperclip 2026.1012.0 upgrade receipt |
| Issue | Cause | Fix |
|---|---|---|
| DNS resolution failures | CoreDNS not scaling under load | See NETWORK_TROUBLESHOOTING.md |
| Layer | Technology |
|---|---|
| Orchestration | Kubernetes (bare-metal kubeadm) |
| GitOps | Flux CD v2 |
| Networking | Calico (VXLAN), MetalLB, Traefik |
| Package Management | Helm, Kustomize |
| Secrets | SOPS + Age |
| Monitoring | Prometheus, Grafana |
| AI/LLM | OpenWebUI, Ollama, Phoenix |
| MCP | MCPO, Context Forge |
| Automation | n8n, Ansible AWX |
| Agent orchestration | Paperclip |
| Storage | Local PVs, PostgreSQL, Qdrant, Redis, MongoDB |
| Auth | Authentik (SSO) |
| Infrastructure | Oracle Cloud (free tier VMs), local ARM/x86 nodes |
Part of a broader homelab + automation ecosystem. See TerraformHomeLab for the IaC layer.


