Files
git.stella-ops.org/ops/devops/orchestrator
StellaOps Bot 9f6e6f7fb3
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
up
2025-11-25 22:09:44 +02:00
..
up
2025-11-25 22:09:44 +02:00
up
2025-11-25 22:09:44 +02:00
2025-11-25 08:01:23 +02:00
up
2025-11-25 22:09:44 +02:00
up
2025-11-25 22:09:44 +02:00

Orchestrator Infra Bootstrap (DEVOPS-ORCH-32-001)

Components

  • Postgres 16 (state/config)
  • Mongo 7 (job ledger history)
  • NATS 2.10 JetStream (queue/bus)

Compose file: ops/devops/orchestrator/docker-compose.orchestrator.yml

Quick start (offline-friendly)

# bring up infra
COMPOSE_FILE=ops/devops/orchestrator/docker-compose.orchestrator.yml docker compose up -d

# smoke check and emit connection strings
scripts/orchestrator/smoke.sh
cat out/orchestrator-smoke/readiness.txt

# synthetic probe (postgres/mongo/nats health)
scripts/orchestrator/probe.sh
cat out/orchestrator-probe/status.txt

# replay readiness (restart then smoke)
scripts/orchestrator/replay-smoke.sh

Connection strings

  • Postgres: postgres://orch:orchpass@localhost:55432/orchestrator
  • Mongo: mongodb://localhost:57017
  • NATS: nats://localhost:4222

Observability

  • Alerts: ops/devops/orchestrator/alerts.yaml
  • Grafana dashboard: ops/devops/orchestrator/grafana/orchestrator-overview.json
    • Metrics expected: job_queue_depth, job_failures_total, lease_extensions_total, job_latency_seconds_bucket.
  • Runbook: ops/devops/orchestrator/incident-response.md
  • Synthetic probes: scripts/orchestrator/probe.sh (writes out/orchestrator-probe/status.txt).
  • Replay smoke: scripts/orchestrator/replay-smoke.sh (idempotent restart + smoke).

CI hook (suggested)

Add a workflow step (or local cron) to run scripts/orchestrator/smoke.sh with SKIP_UP=1 against existing infra and publish the readiness.txt artifact for traceability.

Notes

  • Uses fixed ports for determinism; adjust via COMPOSE overrides if needed.
  • Data volumes: orch_pg_data, orch_mongo_data (docker volumes).
  • No external downloads beyond base images; pin images to specific tags above.