From 4e791e825b5305d73b210ebb2ee4f13e2304fc90 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 10 Apr 2024 23:01:42 -0500 Subject: [PATCH] Loki work! --- .../observability/loki/app/helmrelease.yaml | 71 +++++-------------- 1 file changed, 16 insertions(+), 55 deletions(-) diff --git a/kubernetes/apps/observability/loki/app/helmrelease.yaml b/kubernetes/apps/observability/loki/app/helmrelease.yaml index aca9f7db..9660d0b6 100644 --- a/kubernetes/apps/observability/loki/app/helmrelease.yaml +++ b/kubernetes/apps/observability/loki/app/helmrelease.yaml @@ -69,38 +69,28 @@ spec: log_level: info http_listen_port: 3100 grpc_listen_port: 9095 - memberlist: - join_members: ["loki-memberlist"] + grpc_server_max_recv_msg_size: 8388608 + grpc_server_max_send_msg_size: 8388608 + limits_config: - retention_period: 14d - enforce_metric_name: false + ingestion_burst_size_mb: 128 + ingestion_rate_mb: 64 + max_query_parallelism: 100 + per_stream_rate_limit: 64M + per_stream_rate_limit_burst: 128M reject_old_samples: true reject_old_samples_max_age: 168h - max_cache_freshness_per_query: 10m - split_queries_by_interval: 1h - max_query_parallelism: 100 - ingestion_rate_mb: 50 - ingestion_burst_size_mb: 1000 - per_stream_rate_limit: 5MB - per_stream_rate_limit_burst: 20MB + retention_period: 30d shard_streams: enabled: true + split_queries_by_interval: 1h + query_scheduler: max_outstanding_requests_per_tenant: 4096 frontend: max_outstanding_per_tenant: 4096 - common: - path_prefix: /var/loki - replication_factor: 2 - storage: - s3: - s3: null - insecure: true - s3forcepathstyle: true - ring: - kvstore: - store: memberlist + ruler: enable_api: true enable_alertmanager_v2: true @@ -109,22 +99,11 @@ spec: type: local local: directory: /rules - rule_path: /tmp/scratch - ring: - kvstore: - store: memberlist - distributor: - ring: - kvstore: - store: memberlist - ingester: - max_chunk_age: 1h - lifecycler: - ring: - kvstore: - store: memberlist + rule_path: /rules + analytics: reporting_enabled: false + gateway: replicas: 3 enabled: true @@ -163,29 +142,11 @@ spec: storageClass: openebs-hostpath read: replicas: 3 - persistence: - storageClass: openebs-hostpath - extraVolumeMounts: - - name: rules - mountPath: /rules - extraVolumes: - - name: rules - emptyDir: {} + backend: replicas: 3 persistence: storageClass: openebs-hostpath - extraVolumeMounts: - - name: rules - mountPath: /rules/fake - - name: scratch - mountPath: /tmp/scratch - extraVolumes: - - name: rules - configMap: - name: loki-alerting-rules - - name: scratch - emptyDir: {} monitoring: dashboards: annotations: