Skip to content

Commit

Permalink
Merge pull request #276 from intelops/data-postgres-readme
Browse files Browse the repository at this point in the history
Postgres data persistence
  • Loading branch information
vijeyash1 committed Dec 14, 2023
2 parents f8691fa + 40cb646 commit 767c12f
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 767c12f

Please sign in to comment.