From 91624b0f9eaec3fabd2ce5f2d0b1a409e5856b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 4 Apr 2018 21:15:53 +0200 Subject: [PATCH] improve the doc --- grafana/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/grafana/README.md b/grafana/README.md index 886ef2d..4b75117 100644 --- a/grafana/README.md +++ b/grafana/README.md @@ -12,16 +12,19 @@ on OpenShift. ### Pre-requisites +First, make sure the is a `rhel7` imagestream in the `openshift` namespace. ``` oc import-image -n openshift rhel7 --from registry.access.redhat.com/rhel7:latest --confirm ``` +Then, make sure you are cluster-admin on your OpenShift cluster. + ### Deploy Grafana and Prometheus ``` oc process -f grafana-prometheus-storage.yaml -p PVC_SIZE=1Gi |oc create -f - -oc process -f grafana-prometheus.yaml |oc create -f - -oc process -f grafana-base.yaml |oc create -f - +oc process -f grafana-prometheus.yaml -p PROMETHEUS_ROUTE_HOSTNAME=prometheus.app.openshift.test -p ALERTS_ROUTE_HOSTNAME=alerts.app.openshift.test |oc create -f - +oc process -f grafana-base.yaml -p GRAFANA_ROUTE_HOSTNAME=grafana.app.openshift.test |oc create -f - ``` ### Deploy only Grafana with its vanilla configuration