| Status | Active |
|---|---|
| Owner | Mallory Hill |
| Last Updated | 2026-10-26 |
This document covers the latest requirements and dependencies for the hyperfleet components managed through the operator.
Current components: api, 5 sentinels (clusters, wifconfigs, nodepools, versions, channels)
Note: The operator never creates the Secrets below; you must provide them. Every Secret
must live in the operator's namespace (hyperfleet-system by default).
| Object | Name | Required when | Contents |
|---|---|---|---|
Secret |
hyperfleet-db (any name; must equal spec.api.database.secretRef.name) |
Always (API) | db.host, db.port, db.name, db.user, db.password |
Secret |
hyperfleet-broker-credentials (fixed name) |
Broker type is RabbitMQ, the default (Sentinel) | BROKER_RABBITMQ_URL |
A missing Secret does not stop the reconcile. The operator hashes it as absent
and sets Degraded=True with reason ReferencedSecretMissing, listing the
missing Secrets. Creating it afterwards recovers the CR and rolls the affected
pods.
- Requires a valid postgreSQL database
- Requires a secret with database credentials
# hyperfleet-db.yaml
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: hyperfleet-db
namespace: <operator_namespace>
stringData:
db.host: <...>
db.port: <...>
db.name: <...>
db.user: <...>
db.password: <...>The broker backend is chosen by environment variables on the operator Deployment, not by the CR:
| Variable | Value | Notes |
|---|---|---|
BROKER_TYPE |
rabbitmq or googlepubsub |
Defaults to rabbitmq when unset; any other value stops the operator at startup |
BROKER_GOOGLEPUBSUB_PROJECT_ID |
A valid GCP project ID | Required when BROKER_TYPE=googlepubsub |
make deploy chooses the broker with the BROKER_TYPE make variable (default
rabbitmq; any other value except googlepubsub fails the build). With
RabbitMQ, no broker variables are added to the operator Deployment, because the
operator already defaults to it. With googlepubsub, make deploy renders
config/overlays/googlepubsub, which adds both variables, and fails if
BROKER_GOOGLEPUBSUB_PROJECT_ID is empty:
make deploy RELATED_IMAGE_HYPERFLEET_OPERATOR=$OPERATOR_IMG \
BROKER_TYPE=googlepubsub BROKER_GOOGLEPUBSUB_PROJECT_ID=<gcp-project-id>With BROKER_TYPE=googlepubsub, the operator creates no Pub/Sub resources and
mounts no Google credentials. Before you create the HyperFleetConfig:
- Create one topic per resource type, named
<operator namespace>-<resource type>, for examplehyperfleet-system-clusters. Sentinel does not create topics. - Give the Sentinel pods Google Application Default Credentials through
workload identity for the ServiceAccounts
hyperfleet-sentinel-<resource type>. The operator sets no key file and noGOOGLE_APPLICATION_CREDENTIALS. - Grant those ServiceAccounts
pubsub.topics.publishon the topics andpubsub.topics.getin the project. The Sentinel readiness check callsGetTopic, so withoutpubsub.topics.getthe pods never become ready.roles/pubsub.publisherdoes not includepubsub.topics.get. - Let the Sentinel pods reach
pubsub.googleapis.com:443.
BROKER_TYPE=googlepubsubneeds no Secret; see Google Pub/Sub.BROKER_TYPE=rabbitmqrequires a secret namedhyperfleet-broker-credentialsthat contains the RabbitMQ url
# hyperfleet-broker-credentials.yaml
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: hyperfleet-broker-credentials
namespace: <operator_namespace>
stringData:
# amqp://user:password@host:port/vhost
BROKER_RABBITMQ_URL: <...>Note: BROKER_TYPE defaults to rabbitmq
kind create cluster --name hyperfleet-kind
export NAMESPACE=hyperfleet-system
kubectl create namespace $NAMESPACEPostgreSQL and RabbitMQ run in the same namespace:
helm install postgresql <postgres_chart> -n $NAMESPACE
helm install rabbitmq <rabbitmq_chart> -n $NAMESPACE# Database credentials (required for the API)
kubectl create secret generic hyperfleet-db -n $NAMESPACE \
--from-literal=db.host=<postgres-service-name> \
--from-literal=db.port=5432 \
--from-literal=db.name=<database> \
--from-literal=db.user=<user> \
--from-literal=db.password=<password>
# Broker credentials (required for Sentinel with RabbitMQ)
kubectl create secret generic hyperfleet-broker-credentials -n $NAMESPACE \
--from-literal=BROKER_RABBITMQ_URL=<amqp://user:password@host:port/vhost>export OPERATOR_IMG=quay.io/<quay-user>/hyperfleet-operator:dev-<git-sha>
make image-dev QUAY_USER=<quay-user>
make deploy RELATED_IMAGE_HYPERFLEET_OPERATOR=$OPERATOR_IMGmake image-dev tags the image dev-<git-sha>. make deploy installs the
CRD and the operator into hyperfleet-system.
spec.authentication is always required.
kubectl apply -f - <<'EOF'
apiVersion: hyperfleet.redhat.com/v1alpha1
kind: HyperFleetConfig
metadata:
name: cluster
spec:
bundle: cloud-capi
api:
database:
secretRef:
name: hyperfleet-db
profile: small
authentication:
audience: hyperfleet-api
identityProviders:
- issuer: https://idcs-example.identity.oraclecloud.com
tenantDimensions:
tenancy_ocid:
claim: tenancy_ocid
EOFkubectl get hyperfleetconfigs.hyperfleet.redhat.com cluster \
-o jsonpath='{range .status.conditions[*]}{.type}={.status} ({.reason}): {.message}{"\n"}{end}'A healthy install reports:
Degraded=False (AsExpected): no failure detected
Available=True (DeploymentAvailable): all components are available
Progressing=False (RolloutComplete): all components have completed rollout
# uninstall rabbitmq and postgresql
helm uninstall postgresql -n $NAMESPACE
helm uninstall rabbitmq -n $NAMESPACE
# uninstall the secrets
kubectl delete secret hyperfleet-db -n $NAMESPACE
kubectl delete secret hyperfleet-broker-credentials -n $NAMESPACE
# uninstall the HyperFleetConfig
kubectl delete hyperfleetconfigs.hyperfleet.redhat.com cluster
make undeploy
# delete the cluster
kind delete cluster --name hyperfleet-kind