Skip to content

Service Catalog: Security & Productivity Tools

This section documents secrets orchestration, centralized Security Information and Event Management (SIEM) observability, developer environments, homelab dashboards, and management utilities supporting LambertLab.


🔒 Workload Directory

1. HashiCorp Vault

  • Namespace: security
  • AppProject: security
  • Sync Wave: Wave 5
  • Ingress Endpoint: https://vault.lambertlab.us
  • Architectural Role: Centralized cryptographic secrets engine and identity broker.
  • Storage Backend: 1 GiB distributed Longhorn block storage with longhorn-retain StorageClass.
  • Key Configuration:
  • Stores Cloudflare API tokens, Tailscale authentication keys, database passwords, and Active Directory service account credentials.
  • Native Kubernetes authentication engine granting cluster pods time-limited, scoped tokens based on ServiceAccounts.
  • Integrated with Microsoft Entra ID via OIDC SSO for administrative console access.

2. External Secrets Operator (ESO)

  • Namespace: external-secrets
  • Version: Helm v2.14.0
  • Sync Waves: Wave 5 (Operator & Webhooks), Wave 6 (ClusterSecretStore & ExternalSecret manifests)
  • Architectural Role: Kubernetes operator dynamically synchronizing external secret backends into native Kubernetes Secret objects.
  • Key Configuration:
  • Configures ClusterSecretStore named vault-backend pointing directly to in-cluster HashiCorp Vault (http://vault.security.svc:8200).
  • Authenticates using a scoped Vault token via tokenSecretRef stored in external-secrets/vault-token.
  • Eliminates plaintext secrets from Git repositories while allowing workloads across all namespaces to consume standard Kubernetes secrets declaratively via ExternalSecret manifests (such as kibana-secure-settings in observability, oauth2-proxy-auth in security, and argocd-oidc-secret in argocd).

3. OAuth2-Proxy & Traefik ForwardAuth

  • Namespace: security
  • Sync Wave: Wave 6
  • Ingress Endpoint: https://auth.lambertlab.us
  • Architectural Role: Zero-Trust authentication gateway leveraging Microsoft Entra ID (OIDC) to protect internal applications via Traefik ForwardAuth middlewares.
  • Key Configuration:
  • Configured with the static://202 upstream pattern. Instead of proxying traffic directly, it acts purely as an authentication oracle for Traefik. It returns HTTP 202 (Accepted) for valid sessions, instructing Traefik to allow the request through to the target backend.
  • Bound to the primary Microsoft Entra ID tenant via OIDC SSO.
  • Secures wildcard subdomains (cookie-domain: .lambertlab.us), allowing a single login event at the perimeter to grant access across all protected internal portals.
  • Synchronizes Entra ID group claims into headers for downstream application RBAC.

4. Centralized Elastic Stack & Elastic Agent (Enterprise SIEM)

  • Host Environment: Kubernetes observability (ECK Operator-managed Elasticsearch, Logstash, Kibana on workstation) & kube-system (Elastic Agent DaemonSet)
  • Sync Waves: Wave 5 (ECK Operator), Wave 6 (Elasticsearch Cluster), Wave 7 (Kibana, Logstash, Fleet Server), Wave 9 (Elastic Agent DaemonSet)
  • Ingress Endpoints: https://kibana.lambertlab.us, https://fleet.lambertlab.us, https://es.lambertlab.us (Logstash on :12201 GELF)
  • Architectural Role: Production-level Security Information and Event Management (SIEM), identity entity analytics, and distributed telemetry pipeline.
  • Storage Backend: Dedicated local NVMe storage (/home/chris/services/elasticsearch/data) on workstation.
  • Key Configuration:
  • Single-Node ILM Invariant: Single-node cluster enforcing number_of_replicas: 0 (shards [1]/[0]) via logs@custom and metrics@custom to preserve solid GREEN cluster health and prevent Index Lifecycle Management (ILM) stalls.
  • Perimeter Firewall & DNS Telemetry: Dedicated Cilium L4 LoadBalancer VIP 10.0.0.210:5514 (UDP/TCP) in kubernetes/observability/elastic-agent/service.yaml ingesting RFC 5424 structured syslog from OPNsense (filterlog and unbound), enriched with automated MaxMind GeoIP and ASN mappings.
  • Active Directory & Identity Ingestion (dc01): Native Windows Service Elastic Agent running on Windows Server 2025 Datacenter (10.10.0.10), ingesting kernel security events (4624, 4625, 4672, 4634, 4720, 4728) and synchronizing domain users/devices via LDAPS (Port 636) with service account svc_elastic.
  • Workstation Endpoint Security (EDR & Malware Prevention): Native Elastic Agent and Elastic Defend (endpoint-9.3.2) running on Windows 11 (win11-01), streaming kernel process execution trees, DLL injection hooks, network socket attributions, and signatureless malware prevention into Kibana Security (logs-endpoint.*).
  • Docker Container Telemetry: Logstash GELF input on port 12201 (UDP/TCP) streaming container logs over Tailscale from standalone hosts (lenovo).
  • Cluster DaemonSet: Elastic Agent DaemonSet deployed in kube-system streaming Kubernetes node, container pod logs, and kube-state-metrics.
  • Curated SIEM Dashboards: Pre-staged official and custom dashboards including Firewall - Dashboard [pfSense], Unbound - Dashboard [pfSense], [System Windows Security] User Logons, Failed and Blocked Accounts, User & Group Management Events, and [Metrics System] Host overview.
  • Kibana Memory Optimization: Tuned with NODE_OPTIONS=--max-old-space-size=2048 and resource limits to prevent V8 JavaScript heap exhaustion during complex visual log queries.
  • Traefik Ingress: Secured with default-admin-only-access security middleware.

5. Homarr Dashboard

  • Namespace: observability
  • AppProject: observability
  • Sync Wave: Wave 8
  • Ingress Endpoint: https://homarr.lambertlab.us
  • Architectural Role: Customizable homelab landing portal and application launcher.
  • Storage Backend: Distributed Longhorn Block Storage (homarr-data PVC, 2 GiB).
  • Key Configuration:
  • Displays real-time operational status and ping health across all cluster services.
  • Secured via Traefik HTTPS termination using the cluster-wide default TLSStore.
  • Secrets Management: Database encryption key (SECRET_ENCRYPTION_KEY) dynamically synchronized from HashiCorp Vault (secret/data/homelab) via ExternalSecret (homarr-secrets).

6. Ntfy Push Notification Service

  • Namespace: observability
  • AppProject: observability
  • Sync Wave: Wave 8
  • Ingress Endpoint: https://ntfy.lambertlab.us
  • Architectural Role: Lightweight, HTTP-based publish-subscribe push notification service.
  • Storage Backend: Persistent volume backed by Longhorn with longhorn-retain policy.
  • Key Configuration:
  • Configured with ignoreDifferences on StatefulSet volumeClaimTemplates to prevent ArgoCD GitOps drift.
  • Dispatches real-time alerts from backup scripts, CI/CD pipelines, and health monitors directly to mobile devices.

7. Beszel Hub & Distributed Agents

  • Host Environments: Beszel Hub on lenovo (Docker), Beszel Agents on lenovo, optiplex, and workstation (Docker)
  • Management Engine: Terraform Docker provider (docker/lenovo/app-beszel.tf, app-beszel-agent.tf)
  • Ingress Endpoint: https://beszel.lambertlab.us
  • Architectural Role: Ultra-lightweight resource telemetry, CPU/RAM utilization tracking, and hardware monitoring.
  • Key Configuration:
  • Hub runs natively in Docker on lenovo with persistent local host storage (/home/chris/services/beszel/beszel_data), deliberately kept outside Kubernetes for low overhead.
  • Distributed beszel-agent containers mount /var/run/docker.sock and /dev/dri to report CPU, memory, per-container metrics, disk I/O, and GPU utilization without the resource footprint of Prometheus exporters.

8. External Services Suite (ExternalName Integrations)

  • Namespace: external (Managed via kubernetes/apps/external-services.yaml)
  • Sync Wave: Wave 7
  • Architectural Role: Standalone node services, containers, and network appliances mapped into Kubernetes via type: ExternalName Services backed by CoreDNS static LAN host resolution (*.lan):
Service Host / Address Ingress Endpoint Description
Pi-hole pihole.lan:80 (100.124.184.120) https://pihole.lambertlab.us Network-wide DNS sinkhole, local domain resolution, and tracking ad-blocker running in Tailscale network container.
Portainer optiplex.lan:9000 https://portainer.lambertlab.us Graphical management web interface for standalone Docker hosts and containers.
Cockpit workstation.lan:9090 https://cockpit.lambertlab.us Web-based Linux system administration, storage controller monitoring, and terminal access.
Code-Server lenovo.lan:9882 https://code.lambertlab.us Browser-based Visual Studio Code IDE environment running directly on the cluster manager.
Firefox Web opti74.lan:4000 https://firefox.lambertlab.us Isolated browser sandbox running on port 4000 for secure, disposable web browsing and testing.

9. Zero-Trust Network Policies

  • Namespace: Cluster-wide (kubernetes/network-policies)
  • AppProject: security
  • Sync Wave: Wave 1
  • Architectural Role: Declarative namespace-level network isolation rules enforcing default-deny ingress semantics across security, media, observability, and gaming namespaces.
  • Key Configuration:
  • Enforces policyTypes: [Ingress] across target namespaces to restrict unauthorized lateral pod-to-pod movement while preserving outbound egress and DNS functionality.
  • Allows cross-namespace ingress exclusively from traefik and CoreDNS (kube-system).
  • Dedicated gaming policy (gaming-default-deny) allows incoming player traffic on ports 8211/UDP, 25575/TCP, and 8212/TCP from 0.0.0.0/0 directly to the Palworld LoadBalancer VIP (10.0.0.205).