Files
observability/loki/helm-values.yaml
Mayne0213 24747b98cf REFACTOR(loki,tempo): switch from MinIO to local-path storage
- Loki: s3 backend to filesystem with local-path PVC
- Tempo: s3 backend to local backend with local-path PVC
- Remove MinIO/S3 credentials and configuration
2026-01-09 21:42:35 +09:00

103 lines
2.0 KiB
YAML

# Loki Helm Values
# Chart: https://grafana.github.io/helm-charts
# Single binary deployment with local filesystem storage
loki:
# Use filesystem storage (local-path PVC)
storage:
type: filesystem
# Single binary mode with 1 replica
commonConfig:
replication_factor: 1
path_prefix: /var/loki
# Schema config - filesystem backend
schemaConfig:
configs:
- from: "2024-01-01"
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
# Limits
limits_config:
retention_period: 168h # 7 days
ingestion_rate_mb: 10
ingestion_burst_size_mb: 20
max_streams_per_user: 10000
# Auth disabled for simplicity
auth_enabled: false
# Use single binary deployment (simpler)
deploymentMode: SingleBinary
singleBinary:
replicas: 1
persistence:
enabled: true
storageClass: local-path
size: 10Gi
# Run on master node for stability
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
resources:
requests:
cpu: 23m
memory: 462Mi
limits:
memory: 462Mi
# Disable components not needed in single binary mode
backend:
replicas: 0
read:
replicas: 0
write:
replicas: 0
# Gateway disabled (direct access)
gateway:
enabled: false
# Disable all caching (use simple mode)
chunksCache:
enabled: false
resultsCache:
enabled: false
# Loki Canary - top level config
lokiCanary:
enabled: true
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
# Monitoring
monitoring:
selfMonitoring:
enabled: false
grafanaAgent:
installOperator: false
serviceMonitor:
enabled: true
interval: 60s
labels:
release: prometheus
relabelings:
- targetLabel: cluster
replacement: "mayne-cluster"
# Test disabled
test:
enabled: false