From 41619b99b1c3501d8aa0e21f1053688bc239e451 Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Wed, 24 Apr 2024 10:45:38 +0100 Subject: [PATCH] Update example values.yaml for local mode Signed-off-by: Michel Hollands --- docs/installation.md | 61 +++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 08b3879..d5c75a4 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,6 +1,6 @@ # Install this chart -## Cloud mode (preferred) +## Preparation for Cloud mode (preferred) 1. Use an existing Grafana Cloud account or setup a new one. Then create an access token: @@ -59,6 +59,43 @@ secret: "traces" ``` +## Preparation for Local mode + +1. Create the meta namespace + + ``` + kubectl create namespace meta + ``` + +1. Create a values.yaml file based on the [default one](../charts/meta-monitoring/values.yaml). An example minimal values.yaml looks like this: + + ``` + namespacesToMonitor: + - loki + + cloud: + logs: + enabled: false + metrics: + enabled: false + traces: + enabled: false + + local: + grafana: + enabled:true + logs: + enabled: true + metrics: + enabled: true + traces: + enabled: true + minio: + enabled: true + ``` + +## Installing the chart + 1. Add the repo ``` @@ -90,25 +127,3 @@ helm delete -n meta meta ``` -## Local mode - -1. Create the meta namespace - - ``` - kubectl create namespace meta - ``` - -1. Create a values.yaml file based on the [default one](../charts/meta-monitoring/values.yaml). An example minimal values.yaml looks like this: - - ``` - namespacesToMonitor: - - loki - - cloud: - logs: - enabled: false - metrics: - enabled: false - traces: - enabled: false - ```