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