Network Policy
Egress 出:
Ingress 入:
networkPolicy spec
设置默认规则的方式
calico 部署方式:
https://docs.projectcalico.org/getting-started/kubernetes/flannel/flannel
curl https://docs.projectcalico.org/manifests/canal.yaml -O
kubectl apply -f canal.yaml
kubectl get pods -n kube-system|grep cannl