Cilium v1.5 Documentation
}] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote des�na�ons inside the CIDR 192.0.2.0/24 , but they must communicate not allow Endpoints without the label role=crawler to communicate with des�na�ons in the CIDR 192.0.2.0/24 . Furthermore, endpoints with the label role=crawler will not be able to communicate with des�na�ons CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80"0 码力 | 740 页 | 12.52 MB | 1 年前3Cilium v1.6 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 734 页 | 11.45 MB | 1 年前3Cilium v1.7 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 885 页 | 12.41 MB | 1 年前3Cilium v1.8 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 1124 页 | 21.33 MB | 1 年前3Cilium v1.10 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 1307 页 | 19.26 MB | 1 年前3Cilium v1.9 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 1263 页 | 18.62 MB | 1 年前3Cilium v1.11 Documentation
] }] }] CIDR-dependent Layer 4 Rule This example enables all endpoints with the label role=crawler to communicate with all remote destinations inside the CIDR 192.0.2.0/24, but they must communicate not allow Endpoints without the label role=crawler to communicate with destinations in the CIDR 192.0.2.0/24. Furthermore, endpoints with the label role=crawler will not be able to communicate with destinations CiliumNetworkPolicy metadata: name: "cidr-l4-rule" spec: endpointSelector: matchLabels: role: crawler egress: - toCIDR: - 192.0.2.0/24 toPorts: - ports: - port: "80" protocol:0 码力 | 1373 页 | 19.37 MB | 1 年前3
共 7 条
- 1