mirror of
https://github.com/clastix/kamaji.git
synced 2026-04-15 06:56:47 +00:00
MySQL as Kubernetes Storage
Kamaji offers the possibility of having a different storage system than ETCD thanks to kine. One of the implementations is MySQL.
Kamaji project is developed using kind, therefore, MySQL (or MariaDB in this case) will be deployed into the local kubernetes cluster in order to be used as storage for the tenants.
There is a Makefile to help with the process:
- Full Installation
$ make mariadb
This action will perform all the necessary stuffs to have MariaDB as kubernetes storage backend using kine.
- Certificate creation
$ make mariadb-certificates
Communication between kine and the backend is encrypted, therefore, some certificates must be created.
- Secret Deployment
$ make mariadb-secrets
Previous certificates and MySQL configuration have to be available in order to be used. They will be under the secret kamaji-system:mysql-config.
- Deployment
$ make mariadb-deployment
- Uninstall Everything
$ make destroy