Skip to content

Commit

Permalink
chore(bors): merge pull request #398
Browse files Browse the repository at this point in the history
398: fix(chart): promtail subchart changes for chart v6.13.1 r=niladrih a=niladrih

The `lokiAddress` key is no longer useful with the new loki-stack helm chart. Clients are not input into the `clients[]` array.
Ref: grafana/helm-charts#1425

Co-authored-by: Niladri Halder <[email protected]>
  • Loading branch information
mayastor-bors and niladrih committed Dec 27, 2023
2 parents b86947c + f8b9721 commit a1a16e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ $ helm install my-release openebs/mayastor
| loki-stack.&ZeroWidthSpace;loki.&ZeroWidthSpace;persistence.&ZeroWidthSpace;size | Size of Loki's persistence storage | `"10Gi"` |
| loki-stack.&ZeroWidthSpace;loki.&ZeroWidthSpace;persistence.&ZeroWidthSpace;storageClassName | StorageClass for Loki's centralised log storage. Options: <p> - `"manual"` - Will provision a hostpath PV on the same node. <br> - `""` (empty) - Will use the default StorageClass on the cluster. </p> | `"mayastor-loki-localpv"` |
| loki-stack.&ZeroWidthSpace;loki.&ZeroWidthSpace;rbac.&ZeroWidthSpace;create | Create rbac roles for loki | `true` |
| loki-stack.&ZeroWidthSpace;promtail.&ZeroWidthSpace;config.&ZeroWidthSpace;lokiAddress | The Loki address to post logs to | `"http://{{ .Release.Name }}-loki:3100/loki/api/v1/push"` |
| loki-stack.&ZeroWidthSpace;promtail.&ZeroWidthSpace;config.&ZeroWidthSpace;clients[0] | The Loki address to post logs to | <pre>{<br>"url":"http://{<br>{<br> .Release.Name <br>}<br>}-loki:3100/loki/api/v1/push"<br>}</pre> |
| loki-stack.&ZeroWidthSpace;promtail.&ZeroWidthSpace;enabled | Enables promtail for scraping logs from nodes | `true` |
| loki-stack.&ZeroWidthSpace;promtail.&ZeroWidthSpace;tolerations | Disallow promtail from running on the master node | `[]` |
| nodeSelector | Node labels for pod assignment ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ Note that if multi-arch images support 'kubernetes.io/arch: amd64' should be removed and set 'nodeSelector' to empty '{}' as default value. | <pre>{<br>"kubernetes.io/arch":"amd64"<br>}</pre> |
Expand Down
5 changes: 3 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,9 @@ loki-stack:
tolerations: []
priorityClassName: ""
config:
# -- The Loki address to post logs to
lokiAddress: http://{{ .Release.Name }}-loki:3100/loki/api/v1/push
clients:
# -- The Loki address to post logs to
- url: http://{{ .Release.Name }}-loki:3100/loki/api/v1/push
snippets:
# Promtail will export logs to loki only based on based on below
# configuration, below scrape config will export only our services
Expand Down

0 comments on commit a1a16e8

Please sign in to comment.