Kubernetes v1.21 Released: Here is What you should know

Kubernetes v1.21 release updates

In this blog, we will look at the key changes in the Kubernetes v1.21 release.

Here is a highlevel release changes.

  1.  Total 51 enhancements
  2. 13 enhancements moved to stable
  3. 16 enhancements moved to beta
  4. 20 enhancements moved to alpha
  5. 2 deprecated features

PodSecurityPolicy Deprecated

As per the official Kubernetes blog PSP (Pod Security Policy) is Deprecated in v1.21.

It doesn’t mean that it will be removed in v1.2. PSP feature will continue to exist till version 1.25 as per the current plan.

You can look into options like K-RailKyverno, and OPA/Gatekeeper which has better user experience for implementing security policies.

PSP Replacement Policy

Kubernetes Developer community is working on a feature which is now called the “PSP Replacement Policy” is expected to have an Alpha release in Kubernetes version 1.22.

Use cases covered by PodSecurityPolicy will be covered by the PSP Replacement Policy.

Here is the KEP and also take a look at the Proposal document to know more details

TopologyKeys Deprecated

topologyKeys alpha is deprecated. Topology-aware routing is implemented as topology-aware hints. It is in the Alpha version.

You Might Like: Kubernetes Tutorials

Other Changes

Following are the minor changes in V1.21

  1. CronJobs Object is made Stable.
  2. Immutable Secrets & Configmaps is made stable: If the immutable flag is enabled, it cannot be reverted.
  3. IPv4/IPv6 dual-stack support is made beta.
  4. Graceful node shutdown is made beta. It is one of the required features in Kubernetes as many implementations use custom solutions to gracefully shut down the workloads during node termination.
  5. Alpha release of PersistentVolume Health Monitor: You can monitor the health of PVs

Further Reading

  1. Kubernetes v1.21 release announcement
  2. Cronjob GA
  3. PSP – Past Present and Future
8 Shares:
Leave a Reply

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