make cluster
make registry
make net
make install
make mariadb-repl-min
make monitoring-user
make exporter
make servicemonitor
Create a port-forward to the exporter in another terminal:
kubectl port-forward deployment/exporter 9104:9104
curl http://localhost:9104/probe?target=mariadb-repl-0.mariadb-repl-internal.default.svc.cluster.local:3306
curl http://localhost:9104/probe?target=mariadb-repl-1.mariadb-repl-internal.default.svc.cluster.local:3306
curl http://localhost:9104/probe?target=mariadb-repl-2.mariadb-repl-internal.default.svc.cluster.local:3306