ahmetb/kubernetes-network-policy-recipes resource
Example recipes for Kubernetes Network Policies that you can just copy paste observed · 2026-08-28
Health v2 · maintenance only
34/100
- Activity 5
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3321
- days_rel: n/a
- days_push: 572
- n_releases_24m: 0
Adoption not part of the score
6159 stars · 1823 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of copy-paste-ready YAML recipes and tutorials for Kubernetes Network Policies, covering common traffic restriction scenarios. It serves as both documentation and a learning resource for securing pod-to-pod networking.
Use cases
- deny all traffic to an application in kubernetes
- restrict pod traffic between namespaces
- learn kubernetes network policies with examples
- find sample networkpolicy yaml to copy
- secure kubernetes cluster networking
- allow only specific pods to reach a service
When to choose
- you need ready-made NetworkPolicy YAML for common scenarios
- you are learning how Kubernetes NetworkPolicies work
- you want practical recipes for isolating namespaces or pods
When to avoid
- you need a tool that generates or enforces policies automatically
- your cluster's CNI plugin does not support NetworkPolicies
- you need layer 7 (HTTP-level) traffic control
Facets
learning-resource · maturity active
security networking documentation networking security developer-tools cloud self-hosted network-policy yaml-examples copy-paste-recipes k8s-security kubernetes
1 source
- readme: https://github.com/ahmetb/kubernetes-network-policy-recipes · fetched 2026-08-28 · 810a24220c8d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ahmetb/kubernetes-network-policy-recipes | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="ahmetb/kubernetes-network-policy-recipes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem