![](https://www.alddit.com/wp-content/uploads/2023/04/image-35.png)
![](https://www.alddit.com/wp-content/uploads/2023/04/image-36.png)
All the above rules are or if any one of the rule is staisfied then the traffic is allowed .if you just remove – then both will come under one FROM then both in the FROM has to be satisfied .
![](https://www.alddit.com/wp-content/uploads/2023/04/image-37.png)
below label hast to be set for the POD to use the above defined network policy .
![](https://www.alddit.com/wp-content/uploads/2023/04/image-38.png)