Skip to content

Commit fe1800c

Browse files
authored
Merge pull request #87 from pinakispecial/patch-1
Update README.md
2 parents 1745829 + 9b8e491 commit fe1800c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promethus/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ oc volume dc/grafana --remove --name=grafana-volume-1 #Some strange fix to make
1010
oc volume dc/grafana --remove --name=grafana-volume-2 #Some strange fix to make grafana work
1111
oc new-app prom/prometheus #deploy latest prometheus
1212
oc create -f https://raw.githubusercontent.com/debianmaster/openshift-examples/master/promethus/prom-configmap.yml #mount this configmap at at /etc/prometheus/prometheus.yml #Scrape rules for prometheus
13-
oc volume dc/prometheus --add --name=prom-k8s -m /etc/prometheus -t configmap --configmap-name=prom-k8s #set rules inside prom
13+
oc set volume dc/prometheus --add --name=prom-k8s -m /etc/prometheus -t configmap --configmap-name=prom-k8s #set rules inside prom
1414
```
1515

1616
### Add prometheus as Datasource & Dashboard in grafna

0 commit comments

Comments
 (0)