Recipe
rabbitmq-cluster
RabbitMQ realized as a RabbitmqCluster custom resource the RabbitMQ Cluster Operator reconciles, rather than a directly synthesized StatefulSet — the controller-driven realization of the same RabbitMQ component, selectable in the Manifest alongside the synthesis recipe. The recipe emits one RabbitmqCluster conformant to the rabbitmq.com/v1beta1 API; the controller turns it into a running broker, its client Service and its credential Secret. The RabbitmqCluster is written into the namespace the Release, or else the Aggregate, names through the aggrega.ai/namespace annotation, where one is set. provides.host is the client Service the controller creates for the cluster, so a consumer wires to it exactly as it would to the synthesized realization. Credential custody is the operator's choice: infra.credentials generated leaves the password with the controller, and supplied points it at an existing Secret named in infra.credentials_secret. The RabbitMQ Cluster Operator is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. Reach for this realization where the control plane is already in place; reach for the synthesis recipe where it is not. The controller switches the broker's metrics on and puts their port, 15692, which checks no caller, on the client Service. With `values.metrics_enabled` true their address is published as provides.metrics_endpoint while the cluster runs one node; with more, provides.metrics_service names that client Service for a scraper to discover every node behind it. With the value false, those keys are empty.
Provenienza
- Digest del contenuto
- sha256:64ddbf911f0c8b53f7e4e484497ec3bf596d00ef016bfc9cbb2e78fc69a607bf
- Pubblicato
- 2026-11-10T10:26:51Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:04db23cc0752b1def3cefbbcd8334150d63834ae0d985ea456bd34652a3199a0
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/helm/rabbitmq-cluster:1.0.0- Destinazione
- —
- Implementa
- core/messaging/rabbitmq:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| host | {{ .context.instance_id }} |
| port | 5672 |
| protocol | amqp |
| metrics_endpoint | {{ if and .values.metrics_enabled (le (int (optional (default dict .infra.overrides) "replicas" 1)) 1) }}http://{{ .context.instance_id }}:15692/metrics{{ end }} |
| metrics_service | {{ if and .values.metrics_enabled (gt (int (optional (default dict .infra.overrides) "replicas" 1)) 1) }}{{ .context.instance_id }}{{ end }} |
| metrics_service_port | {{ if and .values.metrics_enabled (gt (int (optional (default dict .infra.overrides) "replicas" 1)) 1) }}prometheus{{ end }} |
| metrics_path | {{ if and .values.metrics_enabled (gt (int (optional (default dict .infra.overrides) "replicas" 1)) 1) }}/metrics{{ end }} |
Workload
Nessun modello di workload dichiarato.
Variabili locali
Nessuna variabile locale dichiarata.
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementacontratto compatibile
core/messaging/rabbitmq:1.0.0
Tutti gli output obbligatori sono soddisfatti e ogni output fornito è nominato nel contratto.
Usato da
Nulla nel catalogo dipende da questa entità.