An implementation of Kubernetes Network Policies.
For comprehensive documentation, architecture details, user guides, and troubleshooting, visit the website:
👉 kube-network-policies.sigs.k8s.io
For traditional Kubernetes Network Policies:
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/kube-network-policies/main/install.yamlFor Admin Network Policies (ANP) and Baseline Admin Network Policies (BANP):
# Install CRDs
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/network-policy-api/v0.1.5/config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/network-policy-api/v0.1.5/config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml
# Deploy the ANP daemonset
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/kube-network-policies/main/install-anp.yamlFor Helm:
helm install kube-network-policies -n kube-system charts/kube-network-policiesLearn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
- Slack: #sig-network on Kubernetes Slack
- Mailing List: sig-network
Participation in the Kubernetes community is governed by the CNCF Code of Conduct.