Kubernetes network policies reference implementation
83
stars
551
commits
Go
primary language
Sep 9, 2026
updated
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.yaml
For 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.yaml
For Helm:
helm install kube-network-policies -n kube-system charts/kube-network-policies
Learn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
Participation in the Kubernetes community is governed by the CNCF Code of Conduct.
Go
83.5%
Shell
8.1%
Python
3.2%
HTML
1.7%
CSS
1.3%
Kubernetes network policies reference implementation
83
stars
551
commits
Go
primary language
Sep 9, 2026
updated
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.yaml
For 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.yaml
For Helm:
helm install kube-network-policies -n kube-system charts/kube-network-policies
Learn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
Participation in the Kubernetes community is governed by the CNCF Code of Conduct.
Go
83.5%
Shell
8.1%
Python
3.2%
HTML
1.7%
CSS
1.3%