From 1c05e6e869fbde4eca2f4be014bb0a416a4eb28e Mon Sep 17 00:00:00 2001 From: Konstantinos Date: Tue, 9 Jun 2020 13:26:09 +0300 Subject: [PATCH] Revert "Add pie chart to the grafana of prometheus operator" This reverts commit 1c28dc6dec112d713f8257219be1ad3eb5424f8e. --- microk8s-resources/actions/prometheus/README.md | 6 ------ .../actions/prometheus/grafana-deployment.yaml | 5 +---- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/microk8s-resources/actions/prometheus/README.md b/microk8s-resources/actions/prometheus/README.md index 86943012fbd..4c32f82bc45 100644 --- a/microk8s-resources/actions/prometheus/README.md +++ b/microk8s-resources/actions/prometheus/README.md @@ -11,12 +11,6 @@ Then update the deployments of prometheus and alertmanager to have one replica o There is no reason to automate this because this may not work in the future. This is not the recommended way of installing Prometheus Operator. -Add in the grafana deployment in the grafana container the environment variable: -```dtd - - env: - - name: GF_INSTALL_PLUGINS - value: grafana-piechart-panel -``` # References - https://github.com/coreos/prometheus-operator/tree/master/contrib/kube-prometheus \ No newline at end of file diff --git a/microk8s-resources/actions/prometheus/grafana-deployment.yaml b/microk8s-resources/actions/prometheus/grafana-deployment.yaml index 4e494bef316..aec58617ea8 100644 --- a/microk8s-resources/actions/prometheus/grafana-deployment.yaml +++ b/microk8s-resources/actions/prometheus/grafana-deployment.yaml @@ -16,10 +16,7 @@ spec: app: grafana spec: containers: - - env: - - name: GF_INSTALL_PLUGINS - value: grafana-piechart-panel - image: grafana/grafana:6.4.3 + - image: grafana/grafana:6.4.3 name: grafana ports: - containerPort: 3000