Kubernetes 1.22: API Removals

Kubernetes 1.22 is a “breaking” release for many because it finally removes old beta APIs that have been deprecated for years. If you rely on `extensions/v1beta1` for Ingress, you will break.

The Big Changes

  • Ingress: Move from `networking.k8s.io/v1beta1` to `networking.k8s.io/v1`. Path type is now required (`Prefix` or `Exact`).
  • CRDs: `apiextensions.k8s.io/v1beta1` is gone. Use `v1`.
  • ValidatingWebhookConfiguration: Use `admissionregistration.k8s.io/v1`.

How to Audit

Use the tool kubent (Kube No Trouble). It scans your cluster for deprecated APIs that are still in use.

kubent

Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.