本頁面由機器翻譯。閱讀英文原文。

Recipe

mysql-innodb-cluster

A MySQL InnoDB Cluster realized as an InnoDBCluster custom resource the MySQL Operator for Kubernetes reconciles. The recipe emits one InnoDBCluster conformant to the mysql.oracle.com/v2 API, requesting a count of MySQL server instances and a count of MySQL Router instances; the controller acts on that request inside the target cluster. provides.host is the Service the controller creates for the cluster, so a consumer wires to it by name. Credential custody is the operator's choice: infra.credentials supplied points the custom resource at an existing Secret named in infra.credentials_secret, and generated renders that Secret beside the custom resource from the credential attached to the root_password slot. The custom resource, and the Secret where one is rendered, are written into the namespace the Release, or else the Aggregate, names through the aggrega.ai/namespace annotation, where one is set. The MySQL Operator control plane 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 core/datastore/mysql where it is not, or where the application wants a logical database and a login role created for it.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:ade25fe5c4ae9c68e8e205640e55e2817b17b2b3d1e59de8c848c58a609ee111
發布時間
2026-11-10T10:25:39Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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:bc860f0c021e80fbb39c09d482d7edde4d6020aa85aa94bf56acfd27019e5739

此版本的參照

oci://hub.aggrega.ai/recipe/helm/mysql-innodb-cluster:1.0.0
目標
—
實作
core/datastore/mysql-innodb-cluster:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ .context.instance_id }}
port{{ .locals.server_port }}
protocolmysql

Workload

未宣告任何工作負載範本。

Locals

名稱範本
server_port3306

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權