Prepare your launchpad
Use this page only for the hands-on route. The required chapters do not depend on a local Docker or Kubernetes environment.
- Labs are disposable: dedicated Apollo11 clone, local
kindcluster, tear down at the end.
Tools
| Tool | Needed for |
|---|---|
| Git, Docker (+ Compose v2), curl | Launchpad onward |
| kind, kubectl, Helm, jq | Ignition onward |
| k9s | Flight deck after Stage 1, then any stage (optional) |
| Headlamp desktop app | Flight deck after Stage 1, then any stage (optional; not installed by prep.sh) |
| Argo CD CLI | Stages 5–7 GitOps demos |
| k6 | Stage 7 |
| Bash 4+, Python 3, OpenSSL | Stage 6–7 trace verification and the capstone; install separately if absent |
| Node 20+ / npm | Running this docs site only |
- Keep ~20 GB free disk and ~8 GB free RAM for Stages 6–7.
- Windows: use WSL2 consistently.
- macOS includes Bash 3.2, which cannot run the trace verifier's
mapfile. Install Bash 4+ with your package manager and checkbash --versionbefore Stage 6.prep.shdoes not install Bash, Python or OpenSSL.
Prepare the verified workspace
Install Git and Docker with Compose v2 first:
Docker Engine on Linux, or
Docker Desktop on macOS/Windows with WSL2.
Start the Docker daemon and require docker ps to succeed.
From the directory where you keep projects, run:
git clone https://github.com/darshan-raul/Apollo11.git
cd Apollo11
git checkout 23e6513d5b414fd1811a4b8c7f944ab469b711b2
git status --short # expect empty
git rev-parse HEAD # expect 23e6513d5b414fd1811a4b8c7f944ab469b711b2
- A detached-HEAD message is expected.
- Different revision? Paths, namespaces and output will differ. Record the hash with your results.
- Run every lab from the repo root.
Install the tools with the bootstrap script
Continue from the pinned repository root; it contains
prep.sh
and mise.toml:
./prep.sh
exec "$SHELL" # reload your shell; continue in the Apollo11 root
./prep.sh --verify
k9s version
prep.sh installs mise, activates it in your shell profile and installs the tools
from mise.toml into your global mise configuration. This includes kubectl,
kind, Helm, Kustomize, jq, k9s, Argo CD, k6 and Trivy. Docker Engine or Docker
Desktop, Compose v2 and a running daemon must be installed separately. Devbox
is no longer the toolchain entry point. Tools currently use latest; record
actual versions with results rather than assuming the course pin pins tools.
AWS CLI and Terraform are optional, installed on demand for the cloud track.
The script can be rerun to install missing tools. Prefer your own package manager? Install the tools in the table, then check them directly:
git --version && docker --version && docker compose version && docker ps
kind version && kubectl version --client && helm version && jq --version && k6 version
Each should print a version; docker ps must succeed. helm version must report v4: the committed Stage 5–7 renders are Helm 4 output, and the repository's test/ci.sh refuses Helm 3. Before Stage 2, read
Local Gateway and browser access for native Linux versus
Docker Desktop routing and certificate trust.
For Stages 6–7 use a quiet host and avoid concurrent image builds during load
measurements. The recorded host had six cores and 16 GB RAM; host load above
30 caused startup timeouts. These observations do not establish a universal
minimum. promtool is installed separately for rule fixtures; local CI also
needs Python/PyYAML, Go and shellcheck.
Know the stage boundary
- Each stage is a snapshot, not a patch on the previous one. Confirm directory, cluster and namespace before each stage.
| Part of journey | Primary application namespace | Extra namespaces |
|---|---|---|
| Launchpad | Docker Compose; no namespace | None |
| Ignition | default (no namespace flag) | kube-system |
| Stage 1 (Liftoff) | apollo-airlines | kube-system |
| Networking onward (Stages 2–5) | apollo-airlines-apps | apollo-airlines-ui; stage-specific system namespaces |
| Observability (Stage 6) | apollo-airlines-apps | apollo-observability, apollo-airlines-ui |
| Scaling (Stage 7) | apollo-airlines-apps | apollo-observability, apollo-airlines-ui |
- The stage page wins if it names a more specific boundary.
- Before starting another stage, run the current stage's
scripts/teardown.shand confirm its namespaces and PVCs are gone (the Stage 6 guide requires this). Do not stack stages unless a walkthrough says its stack carries over.
The learner-work directory
- Author your own manifests here instead of only applying repo files.
learner-work/is git-ignored in Apollo11. Checked-instages/<stage>/k8s/files are the reference solutions.
mkdir -p learner-work/ignition learner-work/stage1
Run the first preflight
kind get clusters
kubectl config current-context
docker ps
docker ps --format '{{.Ports}}' | grep -E '3000|8080|8081|8082|8083|8084' || true
- No clusters listed is fine. An old
apollo11cluster: inspect it or delete it deliberately. - Last command prints nothing: Launchpad ports are free. Output means something holds them. Identify it before stopping it.
applysuccess = API accepted the objects. It says nothing about scheduling, endpoints, telemetry or bookings.
Order of stages
- Launchpad (Docker Compose) → Ignition (kind) → Stages 1–7.
- Each stage names its own start state and cleanup. Do not mix commands across snapshots.
When a command fails
Check in order:
git rev-parse HEADis the pinned hash.pwdis the repo root.kubectl config current-contextiskind-apollo11.kubectl get namespacesshows the stage's namespace.- The walkthrough's "When something looks wrong" table.
| Symptom | Usually |
|---|---|
NotFound | Wrong stage or namespace |
connection refused | Wrong address, or listener not ready |
Pending, timeouts | Read events and conditions; do not re-apply blindly |
More: Troubleshooting.
Revision and verification boundary
- Documentation source revision:
23e6513d5b414fd1811a4b8c7f944ab469b711b2. Includes the application API fixes, mise toolchain, stage-specific CI image gate, alert delivery, edge probes and Stage 7 scheduling fixes, plus the October–November fixes: non-root Stage 5–7 images, Helm 4 CI pin, identity graceful shutdown, Stage 5 release labs, and the Stage 1–7 script, manifest and code fixes of 2026-11-21/22. See mission status for the exact live evidence (which predates the November fixes) and remaining verification gaps. No patches needed. - Before each stage:
git rev-parse HEADmatches andgit status --shortis clean.