summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/user/project/integrations/samples/prometheus.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/user/project/integrations/samples/prometheus.yml b/doc/user/project/integrations/samples/prometheus.yml
index 30b59e172a1..9cd82be0891 100644
--- a/doc/user/project/integrations/samples/prometheus.yml
+++ b/doc/user/project/integrations/samples/prometheus.yml
@@ -6,7 +6,7 @@ metadata:
apiVersion: v1
kind: ConfigMap
metadata:
- name: prometheus
+ name: prometheus-config
namespace: prometheus
data:
prometheus.yml: |-
@@ -93,15 +93,13 @@ spec:
containers:
- name: prometheus
image: prom/prometheus:latest
- args:
- - '-config.file=/prometheus-data/prometheus.yml'
ports:
- name: prometheus
containerPort: 9090
volumeMounts:
- - name: data-volume
- mountPath: /prometheus-data
+ - name: config-volume
+ mountPath: /etc/prometheus
volumes:
- - name: data-volume
+ - name: config-volume
configMap:
- name: prometheus
+ name: prometheus-config