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.
Происхождение
- Дайджест содержимого
- sha256:85ffc765ede3cd63d1f0a5901c86693301410d33d51c6967c3574f7092a2bdca
- Опубликовано
- 2026-11-10T10:10:52Z
- Идентичность подписи
- 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:0f1da829095d0aad0c4c536b78c703b16cf839fffc27fa011e6b3b5c71609f65
Ссылка на эту версию
oci://hub.aggrega.ai/component/core/datastore/mysql-innodb-cluster:1.0.0Параметры разработчика
Значения, которые разработчик задаёт в сущности Aggregate.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| charset | string | utf8mb4 | нет | Default character set. Written into the server configuration the custom resource carries. |
| collation | string | utf8mb4_general_ci | нет | Default collation. Written into the server configuration the custom resource carries. |
| custom_config | string | — | нет | Raw server configuration block (my.cnf format). Appended verbatim to the server configuration the custom resource carries. |
Размеры, задаваемые оператором
Размеры инфраструктуры, которые оператор настраивает для каждого окружения.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| engine_version | string | 8.4.0 | нет | 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 | нет | 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 | нет | 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 | нет | 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 | нет | 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 | нет | 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. |
Контракт выходных значений
Значения, которые этот компонент публикует для потребителей через топологию uses.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| host | string | — | да | 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 | — | да | 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 | — | нет | Wire protocol the published address speaks — `mysql`, which is what a consumer selects a driver for. |
Сокеты uses
Сокеты зависимостей, через которые подключается этот компонент. Цель каждого соединения, проведённого через сокет, должна удовлетворять его селектору меток, и каждое соединение может нести подключение в слотах, которые объявляет сокет. Обязательный слот должен заполнить каждое соединение, которое сущность Aggregate или сущность Release проводит через сокет.
Сокеты uses не объявлены.
Слоты подключения
Именованные точки привязки, в которых Feature подключается к этому компоненту. Селектор слота ограничивает, какая сущность Feature может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности Feature. Обязательный слот должен быть привязан в каждом экземпляре — подключением в самом экземпляре или в области выше него, — а конфиденциальный слот объявляется для работы с секретными материалами. Feature также может подключаться под именем, которое не объявляет ни один слот.
| Слот | Селектор | Обязательный | Внедрение | Конфиденциальный | Описание |
|---|---|---|---|---|---|
| root_password | — | нет | — | да | 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. |
Список разрешённых самовнедрений
env, file
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
Эта сущность ничего не использует из каталога.
Используется в
использует сокет «backend»
использует сокет «cache»
использует сокет «queue»
использует сокет «backend»
использует сокет «cache»
использует сокет «queue»
использует сокет «backend»
использует сокет «backend»
использует сокет «cache»
использует сокет «queue»
использует сокет «backend»
использует сокет «cache»
использует сокет «queue»
использует сокет «backend»
использует сокет «cache»
использует сокет «queue»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «backend»
использует сокет «cache»
использует сокет «state_store»
использует сокет «checkpointer_db»
использует сокет «checkpointer_db»
использует сокет «backend»
использует сокет «backend»
использует сокет «backend»
использует сокет «storage»
использует сокет «metadata_store»
использует сокет «target_datastore»
использует сокет «backend»
использует сокет «databases»
использует сокет «etcd»
использует сокет «backend»
использует сокет «backend»
использует сокет «cache»
использует сокет «state_store»
использует сокет «forward_target»
использует сокет «backend»
использует сокет «cache»
использует сокет «chunk_cache»
использует сокет «scrape_target»
использует сокет «backend»
использует сокет «backend»
использует сокет «database»
применяется к
применяется к
применяется к
реализует