Open hutger opened 1 year ago
I'm not a project maintainer, but you need to look at charts/loki/values.yaml inside the loki-stack chart to see what the default values are. 'read' and 'write' aren't defined. did you copy these values in from a different chart?
@hutger Did you find a solution to this. I am in the same situation with any values nested under the loki
subchart not being recognized.
loki.enabled: false
does disable the subchart dependency as expected. And loki.isDefault
also gets propagated through to the config map it adjusts, but this value is handled by the loki-stack
chart, not passed through to the loki
subchart.
But any values that are meant to be passed to the loki
subchart itself do not seem to be getting applied properly.
I'm at my wits end. Any help would be greatly appreciated, even if it's just to say "this is a broken nightmare and I ended up installing the loki and promtail charts separately". At least then I would feel somewhat justified in giving up here... 🙃
@JossWhittle I am having this same problem it looks like the values are in the configmap but I am not sure how to update or add to the map
@JossWhittle I just gave up trying and installed Loki and Promtail separately. Ultimately, it turned out to be a better choice as I could manage each individually.
I think the loki-stack
chart is fundamentally broken at the moment if you want to pass any values through to the underlying loki
chart. You can customize the values sent to the promtail
subchart, but not those sent to loki
.
loki:
# Used by loki-stack to enable/disable the loki subchart
enabled: true
# Used by loki-stack to deploy a configmap
isDefault: false
# Should be getting forwarded to the loki subchart as .Values.loki but isn't.
loki:
commonConfig:
replication_factor: 1
auth_enabled: false
storage:
type: 'filesystem'
# Should be getting forwarded to the loki subchart as .Values.singleBinary but isn't.
singleBinary:
persistence:
enabled: true
storageClass: "ceph-filesystem"
size: 20Gi
volumeClaimsEnabled: true
enableStatefulSetAutoDeletePVC: false
# Should be getting forwarded to the loki subchart as .Values.test but isn't.
test:
enabled: false
promtail:
# Used by loki-stack to enable/disable the promtail subchart
enabled: true
# Everything else that follows within this top level promtail key is correctly forwarded to the
# promtail subchart as .Values.serviceMonitor and similar.
serviceMonitor:
enabled: true
I'm having the same problem; i want to enable storage, but it doesn't seem to properly work
I can confirm that also in my experience customising loki subchart looks broken; by setting
persistence:
enabled: true
storageClass: longhorn
size: 80Gi
the storageClass
is ignored and the default class is used.
Hi There,
Maybe a silly question, but I deploying Loki using Loki-Stack helm chart (https://artifacthub.io/packages/helm/grafana/loki-stack), which bundles Loki and Promtail.
I'm looking for a way to pass custom values for Loki, as you can see below, but Helm is ignoring the
write
andread
definitions.How can pass those values settings to Loki downstream chart?