Introducing a new way to review your PRs.

Read the announcement

armadaproject / armada

A multi-cluster batch queuing system for high-throughput workloads on Kubernetes.

View on GitHub

20 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Armada knowledge base

Armada is a Kubernetes-native batch scheduling platform. Clients submit jobs to the server and queues; schedulers turn queued work and cluster capacity into instructions; executors create and observe Kubernetes workloads.

Durable and queryable job history is built from Armada event streams. The event ingester and Lookout services maintain read models for APIs and the Lookout UI, while shared protobuf contracts connect clients and services.

Critical state is distributed across server queue/job state, scheduler databases and instruction streams, Kubernetes cluster objects observed by executors, and event-derived history stores.

flowchart LR
  C[Client SDKs / armadactl] --> S[Armada Server]
  S --> Q[Queues and job state]
  S --> SCH[Scheduler]
  SCH --> SD[(Scheduler state DB)]
  SCH --> E[Executor]
  E --> K[Kubernetes clusters]
  K --> E
  E --> S
  S --> EV[Armada event stream]
  SCH --> EV
  E --> EV
  EV --> EI[Event ingester]
  EV --> LI[Lookout ingester]
  EI --> EH[(Event history store)]
  LI --> LDB[(Lookout read model)]
  LDB --> L[Lookout API and UI]
flowchart LR
  J[Submitted job] --> Q[Queue]
  Q --> D[Scheduler decision]
  D --> I[Executor instruction]
  I --> P[Kubernetes pod]
  P --> R[Executor reporting]
  R --> H[Job history events]

Glossary

  • Armada event: A protobuf-defined record describing job, scheduler, executor, and lifecycle activity.
  • Executor: The cluster-side service that applies scheduling work to Kubernetes and reports observed outcomes.
  • Gang: A set of jobs subject to coordinated scheduling constraints.
  • Lookout: Armada's job-history query services and web interface.
  • Queue: The server-managed submission and scheduling unit carrying jobs and policy.

Codebase-wide invariants

  • Shared event contracts must remain wire-compatible across producers and consumers; evidence: pkg/…/events.proto and generated pkg/…/events.pb.go.
  • Executor-reported startup timing must derive from Kubernetes pod/event observations rather than assumed scheduling timestamps; evidence: internal/…/*.go.
  • Startup issue classification and timing metrics must stay aligned with reporter event handling; evidence: internal/…/*.go and internal/…/*.go.
  • Public integration boundaries are defined by protobuf schemas and their generated bindings, not by service-internal Go structures; evidence: pkg/…/*.proto and pkg/…/*.pb.go.

Routing table