NetworkPolicy extensions/v1beta1 is no longer served
Removed as of 2019-09-18. Replacement: networking.k8s.io/v1 NetworkPolicy, available since v1.8. Source: Kubernetes Deprecated API Migration Guide.
Check a version:
evergreen check pkg:generic/kubernetes/extensions/NetworkPolicy
The Kubernetes Deprecated API Migration Guide states that the extensions/v1beta1 API version of NetworkPolicy is no longer served as of v1.16, which was released on 2019-09-18.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Removed |
| Severity | high |
| Ecosystem | kubernetes |
| Component | pkg:generic/kubernetes/extensions/NetworkPolicy |
| Affected versions | vers:semver/1.0.0-beta.1 |
| Date from the source | 2019-09-18 |
| Replacement | networking.k8s.io/v1 NetworkPolicy, available since v1.8 |
| Evidence last seen | 2026-10-20 |
| Reviewed | 2026-10-20 by arminazimi |
| Review due | 2027-10-20 (365 days after the last review) |
| Rule ID | kubernetes.extensions.networkpolicy.v1beta1.removed |
Sources
- Kubernetes Deprecated API Migration Guide (accessed 2026-10-17)
- Kubernetes 1.16: Custom Resources, Overhauled Metrics, and Volume Extensions (release announcement, 2019-09-18) (accessed 2026-10-20)
Migration
Constraints
- Keep the resource’s behavior unchanged: the same name, namespace, labels, and spec semantics.
- The replacement (networking.k8s.io/v1 NetworkPolicy, available since v1.8) can differ in required fields or field names from the removed version; read the NetworkPolicy entry in the Kubernetes Deprecated API Migration Guide and convert the manifest accordingly.
Steps
- Change the NetworkPolicy apiVersion. Change the reported
apiVersionto the replacement version (networking.k8s.io/v1 NetworkPolicy, available since v1.8). - Convert fields the new version changed. Apply the field changes the migration guide lists for NetworkPolicy, then check the manifest still expresses the same intent.
- Align other NetworkPolicy declarations. Update every other manifest, Helm template, and kustomize patch or target that names the old NetworkPolicy API version, so the repository agrees.
Verification
kubeconform -strict -summary <manifest-paths>: Validate the migrated manifests against the schemas of the target Kubernetes version.kubectl apply --dry-run=server -f <manifest-path>: Ask a cluster on the target version to accept the migrated manifest without applying it.helm template <chart-path> | kubeconform -strict -: For a Helm chart, render it and validate the output.
Detected by
The kubernetes detector. See Detectors and Compatibility.
Related
Same ecosystem
- MutatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- ValidatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- EKS 1.30 and earlier clusters are past end of extended support
- EKS 1.31 cluster is past end of standard support
- EKS 1.32 cluster is past end of standard support
- EKS 1.33 cluster is past end of standard support
- EKS 1.34 cluster is scheduled to leave standard support
- EKS 1.35 cluster is scheduled to leave standard support
Data
This page is generated from registry/kubernetes.json, rule kubernetes.extensions.networkpolicy.v1beta1.removed, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated