Home / Blog / What’s New in Kubernetes 1.21? Key Features and Improvements

What’s New in Kubernetes 1.21? Key Features and Improvements

Explore the major features and improvements introduced in Kubernetes 1.21, including stable CronJobs, immutable Secrets and ConfigMaps, dual-stack networking, graceful node shutdown, and important security updates.

What’s New in Kubernetes 1.21? Key Features and Improvements

 

Kubernetes continues to evolve as one of the leading platforms for deploying, scaling, and managing containerized applications. Kubernetes 1.21, released in April 2021, introduced 51 enhancements, including features that graduated to stable, beta improvements, new alpha capabilities, and important deprecations.

For development and DevOps teams, these updates provided improvements in application scheduling, networking, storage, security, reliability, and cluster management.

Kubernetes 1.21: Major Improvements

CronJobs Become Stable

One of the major changes in Kubernetes 1.21 was the graduation of CronJobs to stable. CronJobs allow teams to schedule recurring tasks such as backups, report generation, maintenance jobs, and other automated operations. Kubernetes 1.21 also introduced the newer CronJob controller as the default implementation.

Immutable Secrets And ConfigMaps

Kubernetes 1.21 introduced stable support for immutable Secrets and ConfigMaps. Once marked immutable, these resources cannot be modified. This can help prevent accidental configuration changes and can also reduce unnecessary monitoring of configuration resources by the Kubernetes control plane.

IPv4 And IPv6 Dual-Stack Networking

Dual-stack networking moved from alpha to beta in Kubernetes 1.21 and was enabled by default. This allows Kubernetes environments to support both IPv4 and IPv6 addressing for nodes, Pods, and Services, providing greater flexibility for modern network architectures.

Graceful Node Shutdown

Kubernetes 1.21 introduced graceful node shutdown as a beta feature. The kubelet can detect an impending system shutdown and allow running Pods to terminate through the expected lifecycle instead of being stopped abruptly. This can help improve application reliability during planned node shutdowns.

PersistentVolume Health Monitoring

PersistentVolume health monitoring was introduced as an alpha capability. It allows Kubernetes to identify unhealthy persistent volumes so workloads can respond appropriately when storage problems occur.

PodSecurityPolicy Deprecation

Kubernetes 1.21 deprecated PodSecurityPolicy. Organizations using this feature needed to start considering alternative approaches for controlling Pod privileges and application security.

TopologyKeys Deprecation

The topologyKeys Service field was also deprecated in Kubernetes 1.21. Kubernetes introduced topology-aware hints as an alternative direction for topology-aware traffic routing.

Improved Storage Migration

Kubernetes 1.21 continued the move from legacy in-tree storage plugins toward the Container Storage Interface (CSI). New feature gates and CSI migration metrics helped cluster operators monitor storage migration and understand whether operations were using legacy or CSI-based implementations.

More Features Graduated To Stable

Several other capabilities reached stable status in Kubernetes 1.21, including EndpointSlice, sysctl support, and PodDisruptionBudgets. These improvements helped strengthen networking, workload configuration, and application availability management.

Why Kubernetes 1.21 Matters For Businesses

The Kubernetes 1.21 release provided improvements that could benefit businesses running containerized applications at scale. Better scheduling, networking, storage monitoring, configuration management, and graceful infrastructure handling can contribute to more reliable application operations.

For DevOps teams, these improvements can also support automation and more predictable application deployment and management.

Kubernetes And Modern Application Development

Kubernetes can be used to manage applications running across cloud, on-premises, and hybrid infrastructure. Its container orchestration capabilities make it suitable for microservices, APIs, enterprise applications, SaaS platforms, and other distributed workloads.

Businesses adopting Kubernetes should consider not only the Kubernetes version but also their cloud provider, container runtime, networking, storage, security requirements, monitoring strategy, and upgrade process.

How Solace Infotech Can Help

Solace Infotech provides custom software development and DevOps services for businesses building scalable web, mobile, cloud, and enterprise applications.

Our development and DevOps teams can support containerized application deployment, cloud infrastructure, CI/CD pipelines, application monitoring, Kubernetes environments, and scalable backend architectures.

Conclusion

Kubernetes 1.21 introduced several important improvements, with stable CronJobs, immutable Secrets and ConfigMaps, dual-stack networking, graceful node shutdown, storage health monitoring, and security-related changes among the notable updates.

Although Kubernetes 1.21 is now an older release, understanding its improvements remains useful when maintaining legacy Kubernetes environments or studying the evolution of Kubernetes features.

Contact Us

1119 W Duarte Rd, Arcadia, CA 91007

Solace Infotech Pvt. Ltd, Supreme HQ,
          HQ3C+9F2, Yash Orchid Society,
          Baner, Pune, Maharashtra 411021

4th Floor, Samraat Nucleus,
           Mumbai Naka, Nashik - 422001