This is a read-only copy of the MariaDB Knowledgebase generated on 2025-04-22. For the latest, interactive version please visit https://mariadb.com/kb/.

Examples Catalog

The examples catalog contains a number of sample manifests that aim to show the operator functionality in a practical way. Follow these instructions for getting started:

curl -sLO https://operator.mariadb.com/examples/manifests.tar.gz
mkdir -p examples
tar -xzf manifests.tar.gz -C examples
  • Install the configuration shared by all the examples:
kubectl apply -f examples/config
  • Start deploying examples:
kubectl apply -f examples/mariadb.yaml

Some examples rely on external dependencies for specific tasks, make sure to install them when it applies:

It is recommended to complement the examples with the API reference documentation to understand the full range of configuration options available.

If you are looking for production-grade examples, you can check the mariadb_galera_production.yaml and maxscale_galera_production.yaml examples.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.