mysql-innodbcluster
by MySQL
MySQL InnoDB Cluster Helm Chart for deploying MySQL InnoDB Cluster in Kubernetes
About this chart
MySQL Operator for Kubernetes
Introduction
The MySQL Operator for Kubernetes is an operator for managing MySQL InnoDB Cluster setups inside a Kubernetes Cluster. It manages the full lifecycle with set up and maintenance that includes automating upgrades and backup.
MySQL Operator for Kubernetes is brought to you by the MySQL team at Oracle.
Issues and Pull Requests
As with all MySQL projects, issues (including bugs and feature requests) are tracked here:
- https://bugs.mysql.com/
Pull requests submitted via github are also tracked at bugs.mysql.com; see CONTRIBUTING for related information.
License
Copyright (c) 2020, 2026, Oracle and/or its affiliates.
License information can be found in the LICENSE file.
This distribution may include materials developed by third parties. For license
and attribution notices for these materials, please refer to the LICENSE file.
Pre-requisites
- Kubernetes 1.21+
- Helm v3
MySQL InnoDB Cluster Installation with Helm
Create MySQL InnoDB Cluster installations using defaults or with customization.
Here's an example using all defaults for a cluster named mycluster:
$> helm install mycluster mysql-operator/mysql-innodbcluster
Or customize, this example sets options from the command line:
$> helm install mycluster mysql-operator/mysql-innodbcluster \
--namespace mynamespace \
--create-namespace \
--set credentials.root.user='root' \
--set credentials.root.password='supersecret' \
--set credentials.root.host='%' \
--set serverInstances=3 \
--set routerInstances=1
More Information
Refer to the official documentation at:
- https://dev.mysql.com/doc/mysql-operator/en/
For additional downloads and the source code, visit:
- https://dev.mysql.com/downloads
- https://github.com/mysql/mysql-operator
Contributing to MySQL Operator for Kubernetes, see:
- See CONTRIBUTING
Server versions (serverVersion) and optional Router versions (router.version)
accept three or four numeric components, for example 26.10.0.1. If
router.version is omitted, Router follows the Server version. Operator image
tags may use a four-part MySQL prefix, for example 26.10.0.1-2.3.2; the
operator and chart package versions remain three-part.
Deploy mysql-innodbcluster with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mysql-innodbcluster on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmysql-innodbcluster is pinned at v2.3.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply