Ingress and Network policies example


Could anyone help to provide the best examples of ingress and Network policies.
and how to test ingress curl -KL <Internal_IP>

How can we find out Internal_IP of ingress

Check this useful repo GitHub - ahmetb/kubernetes-network-policy-recipes: Example recipes for Kubernetes Network Policies that you can just copy paste

Thanks Ayman,

I have gone through your shared link. Now i can understand little bit on Network policies. Could you please tell how we get the Internal_IP and external_ip.

If you really help on this. I will really appreciate you help

you can use kubectl get svc to get the internal IP “ClusterIP” and EXTERNAL-IP