add mysqld-exporter

main
ycz008 2024-04-15 11:49:18 +08:00
parent 288f0e085b
commit 185c19b2a2
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ spec:
- --no-collect.info_schema.innodb_cmpmem
- --no-collect.global_variables
volumeMounts:
- name: config.my-cnf
- name: config-my-cnf
mountPath: /etc/my.cnf
subPath: my.cnf
readOnly: true
@ -45,7 +45,7 @@ spec:
cpu: 0.1
memory: 512Mi
volumes:
- name: config.my-cnf
- name: config-my-cnf
configMap:
name: mysqld-exporter
items: