From 315b20308216ee64176b7e93632c010231990b9c Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Thu, 9 May 2024 16:34:12 +0100 Subject: [PATCH 1/2] Reference cloud provider docs Signed-off-by: Michel Hollands --- charts/meta-monitoring/values.yaml | 9 +++++++-- docs/installation.md | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/charts/meta-monitoring/values.yaml b/charts/meta-monitoring/values.yaml index ca5f6e5..719dd0d 100644 --- a/charts/meta-monitoring/values.yaml +++ b/charts/meta-monitoring/values.yaml @@ -41,11 +41,16 @@ grafana: labels: {} # -- Hosts configuration for the gateway ingress, passed through the `tpl` function to allow templating hosts: - - host: monitoring.example.com + - host: "" paths: - path: / # -- pathType (e.g. ImplementationSpecific, Prefix, .. etc.) might also be required by some Ingress Controllers - # pathType: Prefix + pathType: Prefix + # backend: + # service: + # name: TODO + # port: + # number: TODO # -- TLS configuration for the gateway ingress. Hosts passed through the `tpl` function to allow templating #tls: # - secretName: grafana-tls diff --git a/docs/installation.md b/docs/installation.md index c49b2b1..b2d70f0 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -191,3 +191,7 @@ For each of the dashboard files in charts/meta-monitoring/src/dashboards folder 1. JAEGER_SAMPLER_PARAM: 1 1. If Loki is installed in a different namespace you can create an [ExternalName service](https://kubernetes.io/docs/concepts/services-networking/service/#externalname) in Kubernetes to point to the mmc-alloy service in the meta monitoring namespace + +## Configure external access using an Ingress in local mode + +When using local mode by default a Kubernetes [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/) object is created to access the Grafana instance. This will need to be adapted to your cloud provider by updating the `grafana.ingress` section of the `values.yaml` file provided to Helm. Check the documentation of your cloud provider for available options. \ No newline at end of file From 91c19f07d3d69e9eff0feda75d41c5c3edff42f1 Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Thu, 9 May 2024 16:35:46 +0100 Subject: [PATCH 2/2] Set default value for host again Signed-off-by: Michel Hollands --- charts/meta-monitoring/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/meta-monitoring/values.yaml b/charts/meta-monitoring/values.yaml index 719dd0d..f7af36d 100644 --- a/charts/meta-monitoring/values.yaml +++ b/charts/meta-monitoring/values.yaml @@ -41,7 +41,7 @@ grafana: labels: {} # -- Hosts configuration for the gateway ingress, passed through the `tpl` function to allow templating hosts: - - host: "" + - host: monitoring.example.com paths: - path: / # -- pathType (e.g. ImplementationSpecific, Prefix, .. etc.) might also be required by some Ingress Controllers