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.
Nguồn gốc
- Digest nội dung
- sha256:ade25fe5c4ae9c68e8e205640e55e2817b17b2b3d1e59de8c848c58a609ee111
- Đã xuất bản
- 2026-11-10T10:25:39Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/helm/mysql-innodb-cluster:1.0.0- Đích
- —
- Triển khai
- core/datastore/mysql-innodb-cluster:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .locals.server_port }} |
| protocol | mysql |
Workload
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| server_port | 3306 |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/datastore/mysql-innodb-cluster:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.