From 42c36e04cdc6bea1de251b78c099884a1e5b5518 Mon Sep 17 00:00:00 2001 From: jetzlstorfer Date: Thu, 30 Jul 2020 11:30:36 +0200 Subject: [PATCH 1/2] move files and add readme --- grafana-manifests/README.md | 16 ++++++++++++++++ {manifests => grafana-manifests}/deployment.yaml | 0 {manifests => grafana-manifests}/pvc.yaml | 0 {manifests => grafana-manifests}/service.yaml | 0 4 files changed, 16 insertions(+) create mode 100644 grafana-manifests/README.md rename {manifests => grafana-manifests}/deployment.yaml (100%) rename {manifests => grafana-manifests}/pvc.yaml (100%) rename {manifests => grafana-manifests}/service.yaml (100%) diff --git a/grafana-manifests/README.md b/grafana-manifests/README.md new file mode 100644 index 0000000..ddaa803 --- /dev/null +++ b/grafana-manifests/README.md @@ -0,0 +1,16 @@ +# Grafana manifests + +This folder holds manifests to deploy Grafana into the `monitoring` namespace of your Kubernetes cluster. Please note that this is mainly for development and demo purposes and these manifests are not meant to be used in a production environment. + +Deploy Grafana into your cluster: +``` +kubectl apply -f . +``` + +Login to Grafana by getting the EXTERNAL-IP: +``` +kubectl get service grafana -n monitoring +``` + +Login with the default credentials `admin` / `admin`. + diff --git a/manifests/deployment.yaml b/grafana-manifests/deployment.yaml similarity index 100% rename from manifests/deployment.yaml rename to grafana-manifests/deployment.yaml diff --git a/manifests/pvc.yaml b/grafana-manifests/pvc.yaml similarity index 100% rename from manifests/pvc.yaml rename to grafana-manifests/pvc.yaml diff --git a/manifests/service.yaml b/grafana-manifests/service.yaml similarity index 100% rename from manifests/service.yaml rename to grafana-manifests/service.yaml From 804f6b351ca5520622809e6a98faaf0693a5fa8c Mon Sep 17 00:00:00 2001 From: jetzlstorfer Date: Thu, 30 Jul 2020 13:43:08 +0200 Subject: [PATCH 2/2] streamline wording --- grafana-manifests/README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/grafana-manifests/README.md b/grafana-manifests/README.md index ddaa803..74b0dd8 100644 --- a/grafana-manifests/README.md +++ b/grafana-manifests/README.md @@ -2,15 +2,19 @@ This folder holds manifests to deploy Grafana into the `monitoring` namespace of your Kubernetes cluster. Please note that this is mainly for development and demo purposes and these manifests are not meant to be used in a production environment. -Deploy Grafana into your cluster: -``` -kubectl apply -f . -``` +1. Deploy Grafana into your cluster: + ``` + kubectl apply -f . + ``` -Login to Grafana by getting the EXTERNAL-IP: -``` -kubectl get service grafana -n monitoring -``` +1. Login to Grafana by getting the EXTERNAL-IP: + ``` + kubectl get service grafana -n monitoring + ``` -Login with the default credentials `admin` / `admin`. +1. Login with the default credentials `admin` / `admin`. + +1. Once logged in, navigate to `Configuration -> API Keys` and generate a new API key with the role *Admin*. If the automatic creation of a Prometheus datasource is not needed, the role *Editor* is sufficient. + +1. Use the API Key in the `deploy/service.yaml` file to configure the Grafana-service to talk to your Grafana instance.