issues
search
canonical
/
mysql-k8s-operator
A Charmed Operator for running MySQL on Kubernetes
https://charmhub.io/mysql-k8s
Apache License 2.0
8
stars
15
forks
source link
DPE-2352 Start mysqld-exporter on COS relation and restart upon monitoring password change
#274
Closed
shayancanonical
closed
1 year ago
shayancanonical
commented
1 year ago
Issue
We are always running the mysqld-exporter, even if the relation with COS does not exist
We are not restarting mysqld-exporter when the password for the monitoring user changes
Solution
Disable/stop the mysql-exporter pebble service when no relation to COS exists. When a relation is formed, run the mysqld-exporter sservice
Replan the pebble services upon monitoring user password changes (to run mysqld-exporter with the most up to date password)
Issue
Solution