Skip to content

Commit af86230

Browse files
authored
Update README.md
1 parent 89420de commit af86230

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

kubenetes/network_policy/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ Network policies in Kubernetes are implemented using the Kubernetes Network Poli
1010

1111
Ingress rules define the traffic that is allowed to flow into a pod, while egress rules define the traffic that is allowed to flow out of a pod. In addition to specifying the source and destination pods, network policies can also specify other properties such as the protocol (TCP, UDP, etc.), the port number, and the traffic direction (ingress or egress).
1212

13+
By using network policies, we can implement a wide range of security and compliance policies to protect the cluster from malicious attacks and unauthorized access. For eg., isolating sensitive workloads, restricting access to specific ports, or blocking traffic from specific IP addresses.
14+
15+
To actually enforce the network policy, make sure a 3rd party CNI is installed alongside like Calico, Weave, Flannel, etc.

0 commit comments

Comments
 (0)