Skip to main content

Meet Apollo Airlines

You will be able to: name every component, trace one booking through them, and say which stage adds what.

Components​

ComponentTechPortJob
frontendReact + nginx3000Passenger UI; calls the APIs from the browser
identityPython / FastAPI8080Login, JWT, passenger profile
flightGo / Gin8081Flight inventory, seat counts
bookingGo / Gin8082Creates reservations (the flagship workflow)
searchGo / Gin8083Flight search, cached in Redis
notificationGo / Gin8084Confirmation work after a booking
identity-db, flight-db, booking-dbPostgreSQL 155432One database per service
redisRedis 76379Search cache

Launchpad also runs Dozzle (port 8085) as a log viewer. It is tooling, not part of the app.

One booking, end to end​

  • Booking calls identity (is this token valid?), then flight (get flight, decrement seats).
  • Booking writes the reservation to booking-db, then asks notification to handle the confirmation.
  • Booking depends on four things. The process can be running while any of them is unreachable, and the passenger still cannot book.
  • That gap is what readiness probes (Stage 4) and traces (Stage 6) are for.

What each stage adds​

StageAddsNew boundary
Launchpad10 containers on one Docker bridge networkOne host
Ignition3-node kind cluster, one bare PodControl plane + 2 workers
1 LiftoffDeployments, Services, ConfigMaps, Secrets, JobsNamespace apollo-airlines
2 GuidanceNamespace split, MetalLB, Envoy Gateway, TLSapollo-airlines-apps + apollo-airlines-ui
3 Mission DataStatefulSets, headless Services, PVCsData survives Pod replacement
4 Flight ControlProbes, graceful shutdown, QoS, PDBs, spreadSafe restarts and drains
5 PayloadHelm, Kustomize, Argo CDGit is the source of truth
6 OperationsPrometheus, Loki, Tempo, Grafana, OTelapollo-observability
7 OrbitalRedis cache-aside, HPA, VPA, scheduling rulesLoad-driven change
8 Command ModuleRBAC, PSA, NetworkPolicy, secrets, admissionPlanned
9 Lunar OrbitTerraform + EKS, backup/restorePlanned

Keep one question in mind​

Can the passenger complete a booking, and can I show why or why not?

Next: Launchpad briefing.