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.
Pochodzenie
- Skrót zawartości
- sha256:64ddbf911f0c8b53f7e4e484497ec3bf596d00ef016bfc9cbb2e78fc69a607bf
- Opublikowano
- 2026-11-10T10:26:51Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/recipe/helm/rabbitmq-cluster:1.0.0- Cel
- —
- Implementuje
- core/messaging/rabbitmq:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
| Nazwa | Szablon |
|---|---|
| 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
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
Nie zadeklarowano zmiennych lokalnych.
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementujekontrakt zgodny
core/messaging/rabbitmq:1.0.0
Wszystkie wymagane wyjścia są spełnione, a każde udostępniane wyjście jest wymienione w kontrakcie.
Używane przez
Nic w katalogu nie zależy od tej encji.