about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 16:23:05 +0200
committermakefunstuff <[email protected]>2024-06-29 16:23:05 +0200
commitb5ede81d607a52c2e3cd9122b4091c8ac24be812 (patch)
tree1c0d7325dc9aee66acad28afcb6eda11b18cf08d
parent9ce195a1f3ca3515cdb85fe613ae092a031de150 (diff)
downloadk3s-lab-b5ede81d607a52c2e3cd9122b4091c8ac24be812.tar.gz
backend disable
-rw-r--r--tools/loki-promtail/values.yaml46
1 files changed, 27 insertions, 19 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
index 6cc2f51..4b10084 100644
--- a/tools/loki-promtail/values.yaml
+++ b/tools/loki-promtail/values.yaml
@@ -28,25 +28,33 @@ loki:
 
     singleBinary:
       replicas: 1
-      persistence:
-        enabled: true
-        size: 50Gi
-      gateway:
-        replicas: 0
-      backend:
-        replicas: 0
-      read:
-        replicas: 0
-      write:
-        replicas: 0
-      chunksCache:
-        enabled: false
-      resultsCache:
-        enabled: false
-      lokiCanary:
-        enabled: false
-      test:
-        enabled: false
+        resources:
+      limits:
+        cpu: 3
+        memory: 4Gi
+      requests:
+        cpu: 2
+        memory: 2Gi
+      extraEnv:
+      # Keep a little bit lower than memory limits
+      - name: GOMEMLIMIT
+        value: 3750MiB
+    gateway:
+      replicas: 0
+    backend:
+      replicas: 0
+    read:
+      replicas: 0
+    write:
+      replicas: 0
+    chunksCache:
+      enabled: false
+    resultsCache:
+      enabled: false
+    lokiCanary:
+      enabled: false
+    test:
+      enabled: false
 promtail:
   fullnameOverride: promtail
   config: