diff --git a/chart/README.md b/chart/README.md index 255b92658..4b0f13a70 100644 --- a/chart/README.md +++ b/chart/README.md @@ -163,7 +163,7 @@ $ helm install my-release openebs/mayastor | loki-stack.​loki.​persistence.​size | Size of Loki's persistence storage | `"10Gi"` | | loki-stack.​loki.​persistence.​storageClassName | StorageClass for Loki's centralised log storage. Options:

- `"manual"` - Will provision a hostpath PV on the same node.
- `""` (empty) - Will use the default StorageClass on the cluster.

| `"mayastor-loki-localpv"` | | loki-stack.​loki.​rbac.​create | Create rbac roles for loki | `true` | -| loki-stack.​promtail.​config.​lokiAddress | The Loki address to post logs to | `"http://{{ .Release.Name }}-loki:3100/loki/api/v1/push"` | +| loki-stack.​promtail.​config.​clients[0] | The Loki address to post logs to |
{
"url":"http://{
{
.Release.Name
}
}-loki:3100/loki/api/v1/push"
}
| | loki-stack.​promtail.​enabled | Enables promtail for scraping logs from nodes | `true` | | loki-stack.​promtail.​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. |
{
"kubernetes.io/arch":"amd64"
}
| diff --git a/chart/values.yaml b/chart/values.yaml index b06cd10c6..1fcfe2a58 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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