From 73180f18f5537469df3e8de14f653899958b4104 Mon Sep 17 00:00:00 2001 From: 3deep5me <73546509+3deep5me@users.noreply.github.com> Date: Tue, 7 Oct 2025 14:21:00 +0200 Subject: [PATCH 1/2] set endPort as default --- .../allow-inter-node-traffic.yaml | 33 +++---------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/docs/examples/network-policies/allow-inter-node-traffic.yaml b/docs/examples/network-policies/allow-inter-node-traffic.yaml index bdea49bf4..af2361c42 100644 --- a/docs/examples/network-policies/allow-inter-node-traffic.yaml +++ b/docs/examples/network-policies/allow-inter-node-traffic.yaml @@ -19,22 +19,9 @@ spec: ports: - port: 4369 # epmd - port: 6000 # stream replication, if streams are being used - endPort: 6500 # if your cluster version is below 1.22 (see below) you should use a helm loop or something similar + endPort: 6500 - port: 25672 # clustering - - port: 35672 # CLI tooling - - port: 35673 # CLI tooling - - port: 35674 # CLI tooling - - port: 35675 # CLI tooling - - port: 35676 # CLI tooling - - port: 35677 # CLI tooling - - port: 35678 # CLI tooling - - port: 35679 # CLI tooling - - port: 35680 # CLI tooling - - port: 35681 # CLI tooling - - port: 35682 # CLI tooling - # If using the k8s feature gate NetworkPolicyEndPort (enabled by default 1.22+), the last 11 entries can be simplified to: - # - port: 35672 # CLI tooling - # endPort: 35682 + endPort: 35682 ingress: - from: - podSelector: @@ -44,19 +31,7 @@ spec: ports: - port: 4369 # epmd - port: 6000 # stream replication, if streams are being used - endPort: 6500 # if your cluster version is below 1.22 (see below) you should use a helm loop or something similar + endPort: 6500 - port: 25672 # clustering - port: 35672 # CLI tooling - - port: 35673 # CLI tooling - - port: 35674 # CLI tooling - - port: 35675 # CLI tooling - - port: 35676 # CLI tooling - - port: 35677 # CLI tooling - - port: 35678 # CLI tooling - - port: 35679 # CLI tooling - - port: 35680 # CLI tooling - - port: 35681 # CLI tooling - - port: 35682 # CLI tooling - # If using the k8s feature gate NetworkPolicyEndPort (enabled by default 1.22+), the last 11 entries can be simplified to: - # - port: 35672 # CLI tooling - # endPort: 35682 + endPort: 35682 From 1f9029cae161e084306aca7c8b504f03cc41c294 Mon Sep 17 00:00:00 2001 From: 3deep5me <73546509+3deep5me@users.noreply.github.com> Date: Tue, 7 Oct 2025 15:17:07 +0200 Subject: [PATCH 2/2] fixed missing line for cli tooling --- docs/examples/network-policies/allow-inter-node-traffic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/examples/network-policies/allow-inter-node-traffic.yaml b/docs/examples/network-policies/allow-inter-node-traffic.yaml index af2361c42..86e5f6692 100644 --- a/docs/examples/network-policies/allow-inter-node-traffic.yaml +++ b/docs/examples/network-policies/allow-inter-node-traffic.yaml @@ -21,6 +21,7 @@ spec: - port: 6000 # stream replication, if streams are being used endPort: 6500 - port: 25672 # clustering + - port: 35672 # CLI tooling endPort: 35682 ingress: - from: