ahmetb / kubernetes-network-policy-recipes

Example recipes for Kubernetes Network Policies that you can just copy paste
Apache License 2.0
5.69k stars 1.73k forks source link

create 13 egress rule to a pod app #56

Closed vinhnguyen116 closed 4 years ago

vinhnguyen116 commented 4 years ago

hello, I would like to propose a file with egress rule to allow traffic: to a application pod in a namespace For sure, i have tested on my local lab many times. Please review it

Thank you Vinh

ahmetb commented 4 years ago

Your YAML is in pretty bad shape. Plus I need to know which CNI plugins you've tested this with. If it's not broadly supported it won't work for this repo.

I also don't understand what you mean by your sentences above, and most likely visitors won't either. Maybe mature this a bit more and open another PR?

vinhnguyen116 commented 4 years ago

Your YAML is in pretty bad shape. Plus I need to know which CNI plugins you've tested this with. If it's not broadly supported it won't work for this repo.

I also don't understand what you mean by your sentences above, and most likely visitors won't either. Maybe mature this a bit more and open another PR? hi Ahmetb, Thank your for your reply. I have forgot to do explaination and describe scope of script as other rules which you did. Sorry for disturb by this request. I have to read carefully before commit a request. For cni: I have tested on docker.io/weaveworks/weave-kube:2.6.0 regards, Vinh