Skip to main content
LAP architecture

Components

Request flow

  1. Client (UI / CLI / API) hits the web service.
  2. Web creates a Sandbox CR; the controller schedules a pod.
  3. Pod boots with vault sidecar + harness container. Stubs are injected into the harness env.
  4. Harness clones the repo, installs deps, listens on its protocol — JSON (/message) or PTY (/tty).
  5. Client streams messages or attaches a terminal.
  6. Outbound HTTPS from the harness flows through the vault sidecar, which swaps stubs for real credentials.

Why Kubernetes

  • Portable: kind locally, EKS / GKE / AKS / on-prem in production.
  • Pod-level isolation, RBAC, network policies — off-the-shelf.
  • gVisor / Kata runtimes available via the CRD’s runtimeClass.
  • No cloud-provider lock-in for the sandbox runtime path.