Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
34 lines
882 B
YAML
34 lines
882 B
YAML
---
|
|
# Loki — log aggregation (docs/10). Phase 0 STUB. PVC size is an overlay knob (R-ENV-02).
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: loki
|
|
namespace: monitoring
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: loki
|
|
version: ">=6.0.0 <7.0.0" # TODO(WS-OBS): pin at bring-up; Renovate maintains
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: grafana
|
|
namespace: monitoring
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
# TODO(WS-OBS, Phase 4): single-binary vs scalable deployment mode; retention via compactor
|
|
# (retention_enabled: true — a period alone does nothing); storage backing.
|
|
loki:
|
|
storage:
|
|
type: filesystem
|
|
singleBinary:
|
|
persistence:
|
|
storageClass: longhorn
|
|
size: ${MONITORING_LOKI_PVC_SIZE}
|