Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions infra/openebs.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ environments:
- openebs_local_lvm_enabled: false
- openebs_local_zfs_enabled: false
- openebs_replicated_mayastor_enabled: false
# The chart ships an observability stack on by default: a Loki
# StatefulSet, the MinIO StatefulSet backing it, an Alloy DaemonSet, and
# two extra StorageClasses (openebs-loki-localpv, openebs-minio-localpv).
# Left ON here so this file changes nothing for existing consumers — it is
# unpinned (`git::...helm.git`, no ref), so a default flip would reach
# every cluster on its next apply.
#
# Turn both off on small clusters. On a 1+2 kind cluster the Loki
# StatefulSet cannot even schedule: it wants 3 replicas with pod
# anti-affinity, the two workers take replicas 1 and 2 and the
# control-plane node is tainted, so replica 0 sits Pending forever.
# openebs-hostpath — the StorageClass the fleet actually uses — is
# unaffected by either toggle.
- openebs_loki_enabled: true
- openebs_alloy_enabled: true
- version: 4.5.1
---
releases:
Expand Down
12 changes: 12 additions & 0 deletions infra/values/openebs-localpv.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@ engines:
replicated:
mayastor:
enabled: {{ .Values.openebs_replicated_mayastor_enabled }}

# Observability. `loki.enabled: false` drops BOTH the Loki and the MinIO
# StatefulSets — MinIO is Loki's object store, a sub-dependency with no toggle
# of its own — plus the openebs-loki-localpv / openebs-minio-localpv
# StorageClasses that loki.localpvScConfig emits. `alloy.enabled: false` drops
# the log-shipper DaemonSet that feeds it; leaving Alloy on with Loki off would
# ship logs at nothing.
loki:
enabled: {{ .Values.openebs_loki_enabled }}

alloy:
enabled: {{ .Values.openebs_alloy_enabled }}
Loading