LambertLab Infrastructure Documentation
Welcome to the central technical documentation and operational engineering knowledge base for the LambertLab hybrid cloud-native infrastructure.
🚀 Core Architectural Highlights
LambertLab operates as a bare-metal, high-availability Kubernetes cluster running upstream vanilla Kubernetes v1.37.2. While initially bootstrapped as a lightweight K3s distribution during early platform iterations, the infrastructure was subsequently reconstructed into an enterprise-grade pure vanilla Kubernetes cluster initialized and joined via kubeadm.
The cluster topology is engineered around clean, modular infrastructure layers:
- Control Plane Quorum & Virtual IP: Stacked etcd consensus distributed across a 3-node control plane quorum (
opti74,opti76,optiplex) withkube-vipproviding virtual IP failover (10.0.0.201:6443). - Primary eBPF CNI & Routing: Cilium running in pure eBPF mode, replacing
kube-proxyfor high-throughput pod routing, kernel-level network policies, and Layer 2 service IP announcement pools (10.0.0.202-215). - Edge Ingress Controller: Traefik deployed as a cluster-wide DaemonSet handling HTTP/HTTPS edge ingress with automated wildcard TLS (
*.lambertlab.us) and two-tier zero-trust IP allowlisting middlewares. - Secondary Virtualization CNI: Kube-OVN operating via Multus meta-CNI as a dedicated secondary network, providing an isolated Software-Defined Layer 2 Geneve overlay VPC (
ovn-ad-vpc,10.10.0.0/24) for KubeVirt virtual machines and dual-homed containers. - Multi-Tiered Storage Engine: Distributed block storage with synchronous replication via Longhorn, lightweight node storage via Local Path Provisioner, low-latency SAN block storage via TerraMaster iSCSI LUNs, and bulk media via NFS.
- Cluster Diagnostics & Acceleration: In-cluster Metrics Server enabling resource tracking and
kubectl topCLI commands, hardware GPU pass-through via the NVIDIA GPU Operator, and centralized logging via the Elastic Stack with Elastic Agent.
(For the complete visual layout of the control plane, storage, SDN VPC, and ingress data paths, see the Architecture Topology Diagram at the bottom of this page).
- High-Availability GitOps: ArgoCD HA with Redis Sentinel, controller sharding, and dedicated AppProjects reconciling 40+ services across deterministic synchronization waves (0 to 9).
- Multi-Tiered Storage Matrix: Dedicated TerraMaster SAN iSCSI block LUNs for low-latency VM disks, distributed Longhorn block storage with synchronous cross-node replication for databases, 14TB high-capacity NFS pools for bulk media, and dedicated local NVMe storage for real-time SIEM indexing.
- Dual Directory Model: Seamless identity federation combining on-premises Active Directory (
ad.lambertlab.us, NetBIOSLAMBERTLAB) with Microsoft Entra ID. - Entra Cloud Sync: Zero-touch Password Hash Synchronization (PHS) running under an Active Directory Group Managed Service Account (
provAgentgMSA$). - Clientless Remote Gateway: Apache Guacamole provides browser-based HTML5 RDP/SSH access with Entra ID OIDC SSO, on-premises LDAPS authentication with custom Root CA JVM truststore injection, and native Multus secondary pod networking directly into the Kube-OVN VPC.
- Kube-OVN Software-Defined L2 VPC (
ovn-ad-vpc): Enterprise SDN overlay powered by Geneve UDP encapsulation, decoupling virtual machine Layer 2 broadcast domains from host network interfaces and physical Wi-Fi restrictions. - Direct Pod Bridging (Multus CNI): Apache Guacamole pod attaches a secondary interface (
net1) directly intoovn-ad-vpcwith dynamic DHCP allocation, communicating with domain controllers and desktops at wire speed with zero NAT overhead. - CoreDNS Direct VPC Integration: In-cluster CoreDNS attaches a secondary Multus interface (
vms/ovn-ad-vpc) directly into the VPC, conditionally routing*.ad.lambertlab.usto DC01 (10.10.0.10) with automated health checks (health_check 5s,max_fails 2). - Subnet IPAM Quirk Mitigation: Subnet manifest declares a dummy gateway (
10.10.0.254), preventing Kube-OVN's mutating webhook from reserving and excluding10.10.0.1, allowing the virtualized OPNsense firewall to claim the.1gateway IP.
- Bare-Metal Virtualization: High-performance Windows Server 2025 and Windows 11 Enterprise LTSC virtual machines managed natively alongside containerized microservices via KubeVirt v1.9.0.
- Hardware-Enforced Security: OVMF UEFI Secure Boot paired with persistent virtual TPM 2.0 (
swtpm) state volumes backed by Longhorn. - Direct Line-Rate iSCSI Flashing: Template images are converted directly from compressed QCOW2 into raw iSCSI block LUNs via
qemu-img convert(libiscsi), completely bypassing HTTP ingress proxy idle timeouts and Longhorn 64GB scratch volume overhead. - Automated Sysprep Specialization: Dynamic
WIN-*machine naming, zero-touch OOBE regional bypass, and least-privilege domain join automation via declarativeunattend.xmlanswer files.
- Centralized Log Ingestion (Elastic Stack): Cross-node Docker container logs streamed directly to Logstash in the Elastic Stack (ELK: Elasticsearch, Logstash, Kibana) via Docker GELF drivers over Tailscale on port 12201.
- Strict Index Lifecycle Management (ILM) Retention Rule: Single-node Elasticsearch configurations enforce
number_of_replicas: 0across index templates to ensure green cluster health and prevent automated ILM rollover and pruning stalls. - Workstation Compute Isolation: Strict memory and CPU resource caps (
guacdcapped at 2 cores) preserve 30 Xeon threads and 20GB RTX compute for real-time Elasticsearch pipelines and machine learning workloads.
📖 Complete Documentation Index
🏛️ Architecture Deep-Dives
- Hardware Architecture & Fleet Topology: Node hardware specifications, 3-node etcd Raft quorum, and fleet topology.
- Software-Defined L2 VPC & CoreDNS Fabric: Kube-OVN Geneve overlay, Multus pod attachment, and CoreDNS health-checked forwarders.
- Storage Hierarchy & SAN Architecture: When and why to use SAN iSCSI vs Longhorn vs NFS vs local NVMe.
- Hybrid Identity & Entra ID Federation: Dual-directory identity, Cloud Sync gMSA, PHS, and RBAC security groups.
- Apache Guacamole Gateway: Clientless remote desktop, LDAPS Root CA JVM truststore injection, and OIDC SSO.
- KubeVirt & Virtual Machine Lifecycle: Bare-metal virtualization, Hyper-V enlightenments, Sysprep automation, and direct iSCSI flashing.
- GitOps Engine & Synchronization Waves: ArgoCD HA architecture, AppProjects, sync wave topology, and self-healing.
- Security Information and Event Management (SIEM) & Telemetry: Centralized Elastic Stack (ELK: Elasticsearch, Logstash, Kibana), Docker GELF over Tailscale, local NVMe isolation, and single-node Index Lifecycle Management (ILM) policies.
📦 Application Service Catalog
- Catalog Overview & Master Matrix: Complete directory, cluster namespaces, Docker contexts, and ingress endpoints.
- Core Infrastructure & Networking: ArgoCD, Traefik, Cert-Manager, Kube-OVN, Multus, CoreDNS, Tailscale, Longhorn, KubeVirt, and TerraMaster TOS.
- Virtual Machines & Identity: DC01, Windows 11 Workstation, OPNsense Gateway, KubeVirt Manager, and Apache Guacamole.
- Media & Home Automation: Jellyfin, Sonarr, Radarr, Prowlarr, Tdarr, and Palworld Dedicated Server.
- Security & Productivity Tools: HashiCorp Vault, External Secrets, Elastic Stack (ELK: Elasticsearch, Logstash, Kibana), Homarr, Ntfy, Beszel, Pi-hole, Portainer, Firefox Sandbox, and developer tools.
🛠️ Operational Runbooks
- Bridge Self-Healing Watchdog (Legacy): Background, diagnosis, and automated recovery for USB NIC boot latency on
br-lab0. - Direct iSCSI Line-Rate Flashing: Step-by-step user-space
qemu-img convertflashing guide bypassing CDI and ingress timeouts. - Elastic Stack & Index Lifecycle Management (ILM) Maintenance: Managing single-node index templates, troubleshooting unassigned replica shards, and testing GELF pipelines.
- Disaster Recovery & Cluster Quorum: Host reboot sequence, etcd Raft recovery, KubeVirt VM restoration, and break-glass administrative procedures.
⚡ Architecture Topology
Hold "Alt" / "Option" to enable pan & zoom
graph TD
User["User / External Client"] --> CF["Cloudflare Multi-A DNS<br/>*.lambertlab.us"]
CF --> TS["Tailscale Mesh Ingress<br/>WireGuard Point-to-Point"]
TS --> Traefik["Traefik Edge Ingress :443<br/>Wildcard TLSStore + Middlewares"]
subgraph K8sCluster["Kubernetes Hybrid Cluster (ArgoCD GitOps HA)"]
Traefik --> Guac["Apache Guacamole Gateway"]
Traefik --> KubeVirtMgr["KubeVirt Manager Web UI"]
Traefik --> Catalog["30+ App Workloads"]
subgraph OVNVPC["Software-Defined L2 VPC Overlay (ovn-ad-vpc: 10.10.0.0/24)"]
OVNSwitch["Kube-OVN Logical Switch<br/>Geneve Encap & OVN IPAM"]
OPNsense["OPNsense Firewall VM<br/>Gateway: 10.10.0.1"] <--> OVNSwitch
Guac -.->|"Multus (Dynamic DHCP)"| OVNSwitch
OVNSwitch --> DC01["DC01 Active Directory<br/>Windows Server 2025: 10.10.0.10"]
OVNSwitch --> Win11["Win11 Admin Workstation<br/>Dynamic DHCP (Sysprep Specialized)"]
CoreDNS["CoreDNS<br/>Multus net1: ovn-ad-vpc"] -->|"Conditional Forward *.ad"| DC01
end
end
subgraph StorageSAN["Centralized Storage (TerraMaster F4-425 Plus)"]
DC01 -->|"Raw Block 80GB iSCSI LUN"| iSCSITarget[("SAN iSCSI Target LUNs")]
Win11 -->|"Raw Block 64GB iSCSI LUN"| iSCSITarget
Catalog -->|"Media & ISOs /Volume4/isos-store"| NFSPool[("14TB Bulk NFS Pool")]
end
subgraph Observability["Heavy Compute & Security Information and Event Management (SIEM)"]
Logstash["Logstash Pipeline :12201 GELF"]
Catalog -.->|"GELF over Tailscale"| Logstash
Logstash --> ES[("Elasticsearch 8.x<br/>Local NVMe / ILM Single-Node")]
ES --> Kibana["Kibana Dashboard :5601"]
Traefik -->|"Ingress Route"| Kibana
end