Skip to content

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) with kube-vip providing virtual IP failover (10.0.0.201:6443).
  • Primary eBPF CNI & Routing: Cilium running in pure eBPF mode, replacing kube-proxy for 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 top CLI 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, NetBIOS LAMBERTLAB) 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 into ovn-ad-vpc with 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.us to 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 excluding 10.10.0.1, allowing the virtualized OPNsense firewall to claim the .1 gateway 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 declarative unattend.xml answer 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: 0 across index templates to ensure green cluster health and prevent automated ILM rollover and pruning stalls.
  • Workstation Compute Isolation: Strict memory and CPU resource caps (guacd capped 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

📦 Application Service Catalog

🛠️ Operational Runbooks


⚡ 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