Configuration-driven framework for cluster lifecycle management. An adapter instance listens for CloudEvents from a message broker, executes a four-phase pipeline (extract params, check preconditions, apply resources, report status), and reports results back to the HyperFleet API.
No cluster, broker, or API needed. Dry-run mode processes a CloudEvent from a JSON file using mock clients and prints a full execution trace:
go run ./cmd/adapter/main.go serve \
--config test/testdata/dryrun/dryrun-kubernetes-adapter-config.yaml \
--task-config test/testdata/dryrun/kubernetes/dryrun-kubernetes-task-config.yaml \
--dry-run-event test/testdata/dryrun/event.json \
--dry-run-api-responses test/testdata/dryrun/dryrun-api-responses.json \
--dry-run-discovery test/testdata/dryrun/kubernetes/dryrun-kubernetes-discovery.json \
--dry-run-verboseSee Dry-Run Mode for flags, mock file formats, and JSON output.
The adapter requires a running message broker and HyperFleet API. The hyperfleet-infra repository provides a one-command setup that deploys the complete HyperFleet stack including pre-configured adapters:
| Command | What it deploys |
|---|---|
make local-up-gcp |
GKE cluster + images + API + adapters + Maestro |
make install-hyperfleet |
Everything on an existing K8s cluster using RabbitMQ (no GCP needed) |
make install-hyperfleet-adapters |
Install sample Hyperfleet Adapters |
make status |
Verify the deployment |
Make sure you define the following environment variables:
HELMFILE_ENV: accepted values :kind,gcpNAMESPACE: namespace where HyperFleet components will be deployedREGISTRY: The registry namespace from which to pull the images.quay.io/openshift-hyperfleetfor released imagesAPI_IMAGE_TAG: image tag forhyperfleet-apicontainer imageSENTINEL_IMAGE_TAG: image tag forhyperfleet-sentinelcontainer imageADAPTER_IMAGE_TAG: image tag forhyperfleet-adaptercontainer image
See hyperfleet-infra for required environment variables and full instructions.
- Deployment Guide — configuration, Helm values, and deployment instructions
- Helm Values Reference — auto-generated chart values table
- Configuration Reference — all deployment config fields, CLI flags, and env vars
- Metrics — Prometheus metric definitions, labels, and PromQL queries
- Alerts — recommended alert rules and monitoring queries
- Runbook — failure modes, recovery procedures, and escalation paths
- Adapter Authoring Guide — params, preconditions, resources, CEL expressions, status reporting
- Development Guide - setup, build and test guidelines.
- CONTRIBUTING.md - code style, testing requirements, PR process, and commit guidelines
- HyperFleet Architecture — system architecture and API documentation
- HyperFleet API Spec — OpenAPI specification
- Broker Library — message broker abstraction
| Command | Description |
|---|---|
adapter serve |
Start the adapter, subscribe to broker, and process events |
adapter config-dump |
Print the merged configuration and exit |
adapter version |
Print version, commit, and build date |
All serve flags have environment variable equivalents — run adapter serve --help for the full list.
See CONTRIBUTING.md for code style, testing requirements, PR process, and commit guidelines.
All members of the hyperfleet team have write access. Code reviews and approvals are managed through the OWNERS file.
This project is licensed under the Apache License 2.0 — see the LICENSE file for details.