From 40cb646b59e77dbb5bd829832c004e8b61baa092 Mon Sep 17 00:00:00 2001 From: an1l4 <1995anila@gmail.com> Date: Mon, 13 Nov 2023 20:14:24 +0530 Subject: [PATCH] Postgres data persistence --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index bb19e359..f9ce3923 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,12 @@ helm upgrade -i kubviz-client kubviz/client -n kubviz --set "nats.auth.token=$to **NOTE:** - If you want to enable Grafana with the client deployment, add `--set grafana.enabled=true` to the helm upgrade command. +- Kubviz provides a setup for Grafana with Postgres data persistence, ensuring that even if the grafana pod/service goes down, the data will persist, safeguarding crucial information for visualization and analysis. + +```bash +helm upgrade -i kubviz-client kubviz/client -n kubviz --set "nats.auth.token=$token" --set grafana.enabled=true --set grafana.postgresql=true +``` + - If grafana already exist use the same upgrade command without --set grafana.enabled=true flag. ```bash @@ -102,6 +108,7 @@ helm upgrade -i kubviz-client kubviz/client -n kubviz --set "nats.auth.token=$to Parameter | Description | Default --------- | ----------- | ------- `grafana.enabled` | If true, create grafana | `false` +`grafana.postgresql` | If true, create postgresql | `false` - The KubViz client will also install NATS and Clickhouse. The NATS service is exposed as a LoadBalancer, and you need to note the external IP of the service **kubviz-client-nats-external** and pass it during the KubViz agent installation.