Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

Recipe

mariadb-cluster

MariaDB realized as a MariaDB custom resource the mariadb-operator control plane reconciles, rather than a directly synthesized StatefulSet — the controller-driven realization of the same MariaDB component, selectable in the Manifest alongside the synthesis recipe. The recipe emits one MariaDB conformant to the k8s.mariadb.com/v1alpha1 API; the controller turns it into a running server, its client Service and its credential Secrets, and creates the initial database and application user from the developer's own values. The MariaDB 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 instance and provides.port is the port the custom resource carries, so a consumer wires to it exactly as it would to the synthesized realization. infra.ha turns on replication: infra.ha.read_replicas replicas, automatic failover while infra.ha.enabled, and provides.host then <name>-primary. Credential custody is the operator's choice: infra.credentials generated leaves both passwords with the controller, and the required root_password slot is bound to helm/generated-secret; supplied points it at an existing Secret named in infra.credentials_secret. The control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource reaches a cluster that cannot reconcile it. Reach for this realization where the control plane is in place, and for the synthesis recipe where it is not. A core/backup attachment bound to helm/backup-mariadb-operator is realized through a mariadb-operator Backup.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:033113bef108d21d29c8080bae5607ba0bcefba66078d84be10c682acc8e8722
Opublikowano
2026-11-10T10:25:17Z
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:72d43e362339bc80a52d48a15b42d2d878ee1664d4b1b1c14bab8b3bdab9043e

Referencja w tej wersji

oci://hub.aggrega.ai/recipe/helm/mariadb-cluster:1.0.0
Cel
—
Implementuje
core/datastore/mariadb:1.0.0

Udostępnia

Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.

NazwaSzablon
host{{ .context.instance_id }}{{ if .locals.replicated }}-primary{{ end }}
port{{ .infra.port }}
user{{ .values.user }}
database{{ .values.database }}
protocolmariadb

Workload

Nie zadeklarowano szablonu obciążenia roboczego.

Zmienne lokalne

NazwaSzablon
mariadb_api_versionk8s.mariadb.com/v1alpha1
replicated{{ if or .infra.ha.enabled (gt (int .infra.ha.read_replicas) 0) }}true{{ end }}

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/datastore/mariadb: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.

Dokumentacja pojęcia Recipe →

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność