about summary refs log tree commit diff
path: root/tools/monitoring
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 21:18:02 +0200
committermakefunstuff <[email protected]>2024-06-28 21:18:02 +0200
commit4bff2f07a17b4e597eff0faa27ad351aa3d6504f (patch)
tree1a360e42d58275b6a6089ed30e7d1af4cc1ceabb /tools/monitoring
parenta031a6f4745b69657fdc3d3ef3d3efa819667071 (diff)
downloadk3s-lab-4bff2f07a17b4e597eff0faa27ad351aa3d6504f.tar.gz
maybe this policy will fix it
Diffstat (limited to 'tools/monitoring')
-rw-r--r--tools/monitoring/templates/network-policy.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/monitoring/templates/network-policy.yaml b/tools/monitoring/templates/network-policy.yaml
new file mode 100644
index 0000000..c7696cb
--- /dev/null
+++ b/tools/monitoring/templates/network-policy.yaml
@@ -0,0 +1,17 @@
+apiVersion: networking.k8s.io/v1
+kind: NetworkPolicy
+metadata:
+  name: allow-all-internal
+  namespace: monitoring
+spec:
+  podSelector: {}
+  policyTypes:
+  - Ingress
+  - Egress
+  ingress:
+  - from:
+    - podSelector: {}
+  egress:
+  - to:
+    - podSelector: {}
+