Skip to content

Commit e547106

Browse files
fix(post): added helm update and install
1 parent 5c44cf9 commit e547106

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

_posts/2021-11-20-grafana-loki-kubernetes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ helm repo add grafana https://grafana.github.io/helm-charts
2323
Then update the chart repository
2424

2525
```bash
26-
helm repo add grafana https://grafana.github.io/helm-charts
26+
helm repo update
2727
```
2828

2929
This command will:
@@ -114,7 +114,11 @@ Read more about LogQL [here](https://grafana.com/docs/loki/latest/logql/)
114114

115115
## Upgrading Loki Stack
116116

117-
To upgrade, you run the same command you use to install it
117+
To upgrade, you run the same command you use to install it, with an updated chart
118+
119+
```bash
120+
helm repo update
121+
```
118122

119123
```bash
120124
helm upgrade --install loki grafana/loki-stack --set grafana.enabled=true,prometheus.enabled=true,prometheus.alertmanager.persistentVolume.enabled=false,prometheus.server.persistentVolume.enabled=false,loki.persistence.enabled=true,loki.persistence.storageClassName=nfs-client,loki.persistence.size=5Gi

0 commit comments

Comments
 (0)