Skip to content

Commit

Permalink
Postgres data persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
an1l4 committed Nov 13, 2023
1 parent 7289008 commit 40cb646
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down

0 comments on commit 40cb646

Please sign in to comment.