REFACTOR(repo): restructure monitoring folder
- and add namespace resou... - Remove argocd/, helm-values/, ingress/ subdirectories - Move files to parent directory (argocd.yaml, helm-values.yaml, ingress.yaml) - Update helm valueFiles paths in ArgoCD Applications - Add namespace.yaml to all applications with Goldilocks labels - Update destination namespaces to match folder names - Update kustomization.yaml files to reference new structure
This commit is contained in:
78
loki/helm-values.yaml
Normal file
78
loki/helm-values.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
# Loki Helm Values
|
||||
# Chart: https://grafana.github.io/helm-charts
|
||||
# Simple single binary deployment
|
||||
|
||||
loki:
|
||||
# Use filesystem storage (simple setup)
|
||||
storage:
|
||||
type: filesystem
|
||||
|
||||
# Single binary mode for simplicity
|
||||
commonConfig:
|
||||
replication_factor: 1
|
||||
|
||||
# Schema config
|
||||
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
|
||||
size: 5Gi # Reduced from 10Gi to save storage
|
||||
storageClass: longhorn # Migrated from local-path to Longhorn (replica=2)
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m # Reduced from 50m based on actual usage (10m)
|
||||
memory: 128Mi
|
||||
|
||||
# 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
|
||||
|
||||
# Disable monitoring components
|
||||
monitoring:
|
||||
selfMonitoring:
|
||||
enabled: false
|
||||
grafanaAgent:
|
||||
installOperator: false
|
||||
lokiCanary:
|
||||
enabled: false
|
||||
|
||||
# Test disabled
|
||||
test:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user