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
internal/armada/**,internal/server/**,pkg/api/**-> Job submission and queue managementinternal/armada/server/**,internal/server/**, pkg/…/submit*.proto -> Submission APIinternal/armada/queue/**,internal/armada/job/**,internal/armada/repository/**-> Queue and job lifecycleinternal/scheduler/**,cmd/scheduler/**-> Scheduling systeminternal/scheduler/scheduler/**,internal/scheduler/constraints/**,internal/scheduler/objects/**-> Scheduling algorithms and constraintsinternal/scheduler/database/**,internal/scheduler/ingester/**,internal/scheduler/publisher/**-> Scheduler state and ingestioninternal/executor/**,cmd/executor/**-> Executor runtimeinternal/executor/reporter/**,internal/executor/metrics/**,internal/executor/util/**-> Executor reconciliation and reportinginternal/eventingester/**,internal/lookoutingester/**,internal/lookout/**-> Event ingestion and job historyinternal/eventingester/**,cmd/eventingester/**-> Event store and ingestioninternal/lookout/**,internal/lookoutingester/**,cmd/lookout/**,cmd/lookoutingester/**-> Lookout query serviceslookout/**,ui/**-> Lookout user interfaceinternal/binoculars/**,internal/broadside/**,cmd/binoculars/**,cmd/broadside/**,internal/loadtest/**-> Operational services and toolsinternal/binoculars/**,internal/broadside/**,internal/loadtest/**,cmd/binoculars/**,cmd/broadside/**-> Monitoring and load toolscmd/armadactl/**,internal/armadactl/**,pkg/client/**-> Armadactl and CLI workflowspkg/**,client/**-> Platform contracts and clients- pkg/…/*.proto, pkg/…/*.pb.go,
pkg/armadaevents/**-> Protobuf APIs and event contracts client/java/**,client/python/**,client/dotnet/**,client/rust/**,client/scala/**-> Client SDKsdeploy/**,charts/**,helm/**,config/**,migrations/**-> Deployment and configuration