add mysqld-exporter

main
ycz008 2024-04-15 11:51:25 +08:00
parent 185c19b2a2
commit cb1426a58b
1 changed files with 4 additions and 3 deletions

View File

@ -29,9 +29,10 @@ spec:
image: prom/mysqld-exporter:v0.15.1
imagePullPolicy: Always
args:
- --no-collect.info_schema.innodb_cmp
- --no-collect.info_schema.innodb_cmpmem
- --no-collect.global_variables
- "--config.my-cnf /etc/my.cnf"
- "--no-collect.info_schema.innodb_cmp"
- "--no-collect.info_schema.innodb_cmpmem"
- "--no-collect.global_variables"
volumeMounts:
- name: config-my-cnf
mountPath: /etc/my.cnf