Skip to content

mariadb-operator/mariadb-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mariadb

CI Release Helm Helm release

Go Report Card Go Reference Slack Artifact Hub Operator Hub

🦭 mariadb-operator

Run and operate MariaDB in a cloud native way. Declaratively manage your MariaDB using Kubernetes CRDs rather than imperative commands.

Please, refer to the documentation, release notes, the API reference and the example suite for further detail, or dive into the quickstart.

Helm installation

You can easily deploy the operator to your cluster by installing the mariadb-operator-crds and mariadb-operator Helm charts:

helm repo add mariadb-operator https://helm.mariadb.com/mariadb-operator
helm install mariadb-operator-crds mariadb-operator/mariadb-operator-crds
helm install mariadb-operator mariadb-operator/mariadb-operator

Refer to the helm documentation for further detail.

Upgrading from older releases

When upgrading from an older version of the operator, it’s important to understand how both operator and operand resources are affected. Ensure you read both the updates section of the helm docs, and the release notes for any additional version-specific steps that may be required. Do not attempt to skip intermediate version upgrades. Upgrade progressively through each version to the next.

Openshift installation

The Openshift installation is managed separately in the mariadb-operator-helm repository, which contains a helm based operator that allows you to install mariadb-operator via OLM.

Image compatibility

mariadb-operator is only compatible with official MariaDB images. Refer to the images documentation for further detail.

MariaDB compatibility

  • MariaDB Community >= 10.5
  • MariaDB Enterprise >= 10.5

MaxScale compatibility

  • MaxScale >= 23.08
  • MaxScale >= 24.02

Kubernetes compatibility

  • Kubernetes >= 1.26
  • OpenShift >= 1.13

Migrate your MariaDB instance to Kubernetes

This migration guide will streamline your onboarding process and assist you in migrating your data into a MariaDB instance running on Kubernetes.

GitOps

You can embrace GitOps best practises by using this operator, just place your CRDs in a git repo and reconcile them with your favorite tool, see an example with flux:

Roadmap

Take a look at our roadmap and feel free to open an issue to suggest new features.

Adopters

Please create a PR and add your company or project to our ADOPTERS.md file if you are using our project!

Contributing

We welcome and encourage contributions to this project! Please check our contributing and development guides. PRs welcome!

Community

Get in touch

Join us on Slack: MariaDB Community Slack.