about summary refs log tree commit diff
path: root/tools/loki-promtail
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 16:55:11 +0200
committermakefunstuff <[email protected]>2024-06-29 16:55:11 +0200
commit6dfdf7c943894c839528780eaeaa42744cdada18 (patch)
tree2fa8c2230400e036c83ee7af51024a09f12427a7 /tools/loki-promtail
parent5fc52d61fa85bfb861623d22eac24f41fad9430a (diff)
downloadk3s-lab-6dfdf7c943894c839528780eaeaa42744cdada18.tar.gz
upd
Diffstat (limited to 'tools/loki-promtail')
-rw-r--r--tools/loki-promtail/values.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
index c351091..6e4e933 100644
--- a/tools/loki-promtail/values.yaml
+++ b/tools/loki-promtail/values.yaml
@@ -1,6 +1,28 @@
 loki:
   networkPolicy:
     enabled: true
+  ingress:
+    - from:
+      - podSelector:
+        matchLabels:
+          app: grafana
+        ports:
+          - protocol: TCP
+            port: 3100
+    - from:
+      - podSelector:
+        matchLabels:
+          app: promtail
+        ports:
+          - protocol: TCP
+            port: 3100
+  egress:
+    - to:
+      - ipBlock:
+        cidr: 0.0.0.0/0
+        ports:
+          - protocol: TCP
+            port: 3100
   deploymentMode: SingleBinary
   loki:
     auth_enabled: false