Repository navigation
Releases
v0.3.0
orch v0.3.0
Install the CLI
Linux and macOS (amd64 and arm64):
curl -fsSL https://github.com/alekpopovic/orch/releases/latest/download/install.sh | shInstall to a user-owned directory or pin this release:
curl -fsSL https://github.com/alekpopovic/orch/releases/download/0.3.0/install.sh | \
ORCH_VERSION=0.3.0 ORCH_INSTALL_DIR="$HOME/.local/bin" shThe installer detects the platform, downloads the matching archive, verifies it against checksums.txt, and installs orch. Release archives also contain orch-server and orch-agent. Windows users can download the matching ZIP asset.
Highlights
- Stable OpenAPI v1 contract, namespace isolation, admission policy, quotas, GitOps, one-shot jobs, and cron jobs.
- Maintenance windows with audited emergency bypass.
- Server/agent/schema compatibility reporting and advisory-locked migration tooling.
- Retention pruning and namespace usage export in JSON or CSV.
- Parser fuzzing, scheduler property tests, controller/API benchmarks, isolated opt-in pprof, and a 1,000-service fake-agent scale test.
Compatibility
- Server and CLI:
0.3.0 - API:
v1 - Supported agents:
0.2.0through0.3.0 - Database schema:
16; supported startup range15through16
See RELEASE_NOTES.md, docs/UPGRADES.md, and docs/MIGRATIONS.md in the repository for upgrade and rollback instructions.
The default server still keeps live control-plane state in memory. PostgreSQL-backed, restart-safe server state remains future work.
v0.1.0 MVP
Release Notes
v0.1.0 MVP
This is the first MVP release candidate for orch, a Go-based Docker container orchestrator.
What Works
orch-serverstarts with structured logs, health endpoints, optional JWT auth, agent auth, request IDs, JSON errors, and Prometheus metrics.orch-agentregisters with the server, heartbeats, receives short-lived credentials, polls assigned tasks, and reconciles Docker containers.orchCLI can deploy services from YAML, list/inspect services and nodes, scale services, view tasks, stream logs, list events, start rollouts, request rollback, and delete services.- Services model image, replicas, env, ports, resource requests/limits, healthchecks, restart policy, placement constraints, and deployment version.
- Task lifecycle supports pending, assigned, pulling, created, running, healthy, unhealthy, failed, stopped, and removed states.
- Scheduler and reconciler packages are deterministic and unit-tested.
- Agent Docker execution is idempotent by task/container labels and handles process restart, missing containers, non-zero exits, pull failures, and create/start errors.
- Soft service deletion marks services deleting, stops/removes task containers, and finalizes after tasks report removed.
- Logs are proxied from the owning agent without unbounded buffering.
- Events are queryable through the API and CLI for the active control-plane implementation.
- PostgreSQL migrations and store implementation exist for nodes, services, service versions, tasks, deployments, and events.
- Local Docker Compose environment starts PostgreSQL, server, and one agent.
Important MVP Limits
- The default
orch-serverbinary still uses the in-memory control plane. PostgreSQL-backed server state is not wired yet. - Server process restart loses in-memory services, tasks, deployments, events, node credentials, and node status.
- No heartbeat-expiry controller marks abruptly lost nodes offline yet.
- No HA leader election implementation yet.
- Networking is Docker host/port based; no overlay networking or service discovery.
- Agent authentication is token based; mTLS is roadmap.
- Secrets are represented as references only.
- Rollouts do not yet support manual pause/resume, progress deadlines, or automatic rollback.
Verification For This Candidate
- Full Go test suite:
go test ./... - Build:
go build ./... - Vet:
go vet ./... - Lint target:
make lint - MVP fake-runtime E2E covers agent registration, service deploy, task creation/assignment, task running, log streaming, events, scale up/down, and delete cleanup.
Local Demo
./scripts/dev-up.sh
./scripts/migrate-up.sh
export ORCH_SERVER_URL=http://localhost:8080
./scripts/demo-deploy.sh
go run ./cmd/orch service ps http-api
go run ./cmd/orch logs http-api --tail 100
go run ./cmd/orch events --service http-api
go run ./cmd/orch scale http-api --replicas 2
go run ./cmd/orch delete http-api
./scripts/dev-down.shUpgrade Notes
This is the first release; no upgrade path is required. For future releases, run migrations before deploying binaries that depend on schema changes.