Changed retention policy for loki and prom
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 25s
Check with kubeconform / lint (push) Successful in 14s
Auto-update README / Generate README and Create MR (push) Successful in 9s

This commit is contained in:
AB
2026-04-11 09:42:26 +03:00
parent ef082982c6
commit 12e2a322fa
2 changed files with 4 additions and 1 deletions

View File

@@ -20,8 +20,11 @@ loki:
filesystem: filesystem:
chunks_directory: /var/loki/chunks chunks_directory: /var/loki/chunks
rules_directory: /var/loki/rules rules_directory: /var/loki/rules
compactor:
retention_enabled: true
limits_config: limits_config:
reject_old_samples: false reject_old_samples: false
retention_period: 1440h
ingestion_rate_mb: 16 ingestion_rate_mb: 16
ingestion_burst_size_mb: 32 ingestion_burst_size_mb: 32
max_query_parallelism: 32 max_query_parallelism: 32

View File

@@ -78,7 +78,7 @@ prometheus:
- targets: ['prom-a2s-exporter.counter-strike.svc:9841'] - targets: ['prom-a2s-exporter.counter-strike.svc:9841']
labels: {instance: master} labels: {instance: master}
retention: "99999d" retention: "380d"
retentionSize: "0" retentionSize: "0"
nodeSelector: nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net kubernetes.io/hostname: master.tail2fe2d.ts.net