diff --git a/argocd/apps/loki.yaml b/argocd/apps/loki.yaml index d0dbccb..15019ca 100644 --- a/argocd/apps/loki.yaml +++ b/argocd/apps/loki.yaml @@ -26,21 +26,35 @@ spec: loki: auth_enabled: false - storage: - type: filesystem - schemaConfig: - configs: - - from: "2025-01-01" - store: tsdb - objectStore: filesystem - schema: v13 - index: - prefix: index_ - period: 24h - limits_config: - retention_period: 30d - reject_old_samples: true - reject_old_samples_max_age: 168h + structuredConfig: + auth_enabled: false + + server: + http_listen_port: 3100 + grpc_listen_port: 9095 + + common: + path_prefix: /var/loki + replication_factor: 1 + storage: + filesystem: + chunks_directory: /var/loki/chunks + rules_directory: /var/loki/rules + + schema_config: + configs: + - from: "2025-01-01" + store: tsdb + object_store: filesystem + schema: v13 + index: + prefix: index_ + period: 24h + + limits_config: + retention_period: 30d + reject_old_samples: true + reject_old_samples_max_age: 168h singleBinary: replicas: 1