Component
core/datastore/mysql-innodb-cluster
A MySQL InnoDB Cluster, realized as an InnoDBCluster custom resource the MySQL Operator for Kubernetes reconciles. The emitted custom resource requests a count of MySQL server instances and a count of MySQL Router instances, and the controller acts on that request inside the target cluster — so what this component describes is what is asked for, never what ends up running. What it publishes is root access at an in-cluster address: the controller establishes the root account from the Secret the custom resource names, and creates neither a logical database nor an application user, so this component declares neither and whoever holds root creates the schemas and accounts an application needs. Reach for core/datastore/mysql where the application wants a logical database and a login role created for it, and where nothing may need installing first — its synthesized Recipe needs no controller and no chart repository, so it builds with nothing fetched. Reach for this component where the MySQL Operator control plane is already installed in the target cluster, which core/datastore/mysql-operator declares and installs.
Nguồn gốc
- Digest nội dung
- sha256:85ffc765ede3cd63d1f0a5901c86693301410d33d51c6967c3574f7092a2bdca
- Đã xuất bản
- 2026-11-10T10:10:52Z
- 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:0f1da829095d0aad0c4c536b78c703b16cf839fffc27fa011e6b3b5c71609f65
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/component/core/datastore/mysql-innodb-cluster:1.0.0Tham số của nhà phát triển
Các giá trị mà nhà phát triển đặt trong Aggregate.
| Tên | Kiểu | Mặc định | Bắt buộc | Mô tả |
|---|---|---|---|---|
| charset | string | utf8mb4 | không | Default character set. Written into the server configuration the custom resource carries. |
| collation | string | utf8mb4_general_ci | không | Default collation. Written into the server configuration the custom resource carries. |
| custom_config | string | — | không | Raw server configuration block (my.cnf format). Appended verbatim to the server configuration the custom resource carries. |
Định cỡ của người vận hành
Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.
| Tên | Kiểu | Mặc định | Bắt buộc | Mô tả |
|---|---|---|---|---|
| engine_version | string | 8.4.0 | không | MySQL Server version the custom resource requests. The custom resource accepts a three-part version — major, minor and patch, optionally followed by a suffix — so a two-part value renders and is then rejected when the resource is applied. A build halts on a value the custom resource would reject. |
| server_instances | integer (min 1, max 9) | 1 | không | Number of MySQL server instances the custom resource requests. One is the custom resource's own default and nine is the highest it accepts. |
| router_instances | integer (min 1) | 1 | không | Number of MySQL Router instances the custom resource requests. One is the custom resource's own default. The published address is the Service the routers answer on, so this component does not offer a request of zero: an address nothing answers on would render as cleanly as one that works. |
| control_plane_present | boolean | false | không | Operator affirmation that the MySQL Operator control plane is installed in the target cluster. The build halts unless this is set true, so an InnoDBCluster custom resource is never emitted as an orphan into a cluster that cannot reconcile it. |
| credentials | string (generated | supplied) | supplied | không | Who owns the Secret holding the cluster's root account — the Secret the custom resource names and the controller reads. `supplied` — the Secret already exists in the target cluster and is named in `credentials_secret`; nothing is rendered for it and no password reaches the rendered artifact. `generated` — the Secret is rendered beside the custom resource from the credential attached to the `root_password` slot, so the password is carried in the rendered output. `supplied` is the default because the controller establishes the root account from a Secret it is pointed at and creates none of its own. |
| credentials_secret | string | không | Name of the existing Secret the controller reads the root account from when `credentials` is `supplied`. The Secret lives in the same namespace as the cluster and carries the account's user name, host and password under the keys `rootUser`, `rootHost` and `rootPassword`. Leave it empty when `credentials` is `generated`; a build halts if `supplied` is selected without it. |
Hợp đồng đầu ra
Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.
| Tên | Kiểu | Mặc định | Bắt buộc | Mô tả |
|---|---|---|---|---|
| host | string | — | có | Address a client opens its database connection to. The controller creates a Service under the custom resource's own name, and that bare in-cluster name is what is published; a consumer in another namespace qualifies it with that namespace on its own side. |
| port | integer | — | có | TCP port the published address accepts connections on. The custom resource carries no field that moves it, so it is the port the controller publishes by default. |
| protocol | string | — | không | Wire protocol the published address speaks — `mysql`, which is what a consumer selects a driver for. |
Các socket uses
Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.
Chưa khai báo socket uses nào.
Slot đính kèm
Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.
| Slot | Bộ chọn | Bắt buộc | Tiêm | Nhạy cảm | Mô tả |
|---|---|---|---|---|---|
| root_password | — | không | — | có | Root account password. Read when `infra.credentials` is `generated`, to fill the Secret the custom resource names. Leave it unattached when the Secret is supplied. |
Danh sách cho phép tự tiêm
env, file
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
Thực thể này không sử dụng gì trong danh mục.
Được sử dụng bởi
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «queue»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «queue»
sử dụng socket «backend»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «queue»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «queue»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «queue»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «state_store»
sử dụng socket «checkpointer_db»
sử dụng socket «checkpointer_db»
sử dụng socket «backend»
sử dụng socket «backend»
sử dụng socket «backend»
sử dụng socket «storage»
sử dụng socket «metadata_store»
sử dụng socket «target_datastore»
sử dụng socket «backend»
sử dụng socket «databases»
sử dụng socket «etcd»
sử dụng socket «backend»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «state_store»
sử dụng socket «forward_target»
sử dụng socket «backend»
sử dụng socket «cache»
sử dụng socket «chunk_cache»
sử dụng socket «scrape_target»
sử dụng socket «backend»
sử dụng socket «backend»
sử dụng socket «database»
áp dụng cho
áp dụng cho
áp dụng cho
triển khai