A kubernetes cluster is already setup with 1 master and 3 worker nodes as follows:
A mariadb-galera 10.1.36 needs to be setup so that when one worker goes down, the data is still available as the other workers are still alive.
Monitoring of the whole kubernetes and galera-db replication is done with prometheus with alertmanager so that if one mariadb goes down we have an alert.
1. yml of mariadb-galera services and deployment with pv on local disk.
2. yml of prometheus and alertmanager to monitor the cluster and data replication and or wsrep status.
Copyright © 2021 | Truelancer.com