From 185c19b2a21488d796cde066911ea8885debed17 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 11:49:18 +0800 Subject: [PATCH] add mysqld-exporter --- prod-upgrade/prom/mysql-exporter.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prod-upgrade/prom/mysql-exporter.yaml b/prod-upgrade/prom/mysql-exporter.yaml index 3c4a4df..a235992 100644 --- a/prod-upgrade/prom/mysql-exporter.yaml +++ b/prod-upgrade/prom/mysql-exporter.yaml @@ -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: