What’s new in Kubernetes v1.21.2?

Published 23.06.2021

Categories Changelog

It’s June, and Kubernetes has released a new update with version 1.21.2. We will have a look in brief at the changes that came along with this update. We will also have a look at the bugs that Kubernetes removed ahead with the few things added. Let’s roll.

Changes Since v1.21.1

Let’s look at the several changes that have taken place.

Feature

Golang 1.16.5 helped in building Kubernetes v1.21.2 [SIG Cloud Provider, Instrumentation, Release and Testing]

Setcap Image updates to buster-v2.0.1 [SIG Release]

Failing-Test

The new update fixes the “Should Receive Events” on concurrent watches in the same order conformance test to work correctly on clusters that auto-create additional configmaps in namespaces. [SIG API Machinery and Testing]

Bugs and Regression

In the new update, the jitter factor is added to the lease controller to better smear load on Kube-Apiserver over time. [SIG API Machinery and Testing]

For those whose network profile is nil, avoid caching the Azure VMSS instances [SIG Cloud Provider]

When updating VMSS and VMSS instances in Microsoft Azure, we have to avoid setting cached Sku [SIG Cloud Provider]

A bug is fixed on the endpoint slices mirroring controller where mirroring of endpoint NotReadyAddresses as Ready to the corresponding EndpointSlice [SIG Apps and Network]

A bug that got fixed shows that a preemptor pod may exist as a phantom in the scheduler. [SIG Scheduling]

Fix removing pods from podTopologyHints mapping [SIG Node]

New update fixed the resource enforcement when using systemd cgroup driver [SIG API Machinery, Cloud Provider, CLI, Cluster Lifecycle, Instrumentation, Node, Storage and Testing]

Another fix shows to avoid nil-pointer panic when checking the frontend IP configuration [SIG Cloud Provider]

A new fix is done not to tag static public IP [SIG Cloud Provider]

Fixing the false-positive uncertain volume attachments, which led to unexpected detachment of CSI migrated volumes [SIG Apps and Storage]

Fixation of garbage collection of dangling VolumeAttachments for PersistentVolumes migrated to CSI on startup of Kube-controller-manager. [SIG Apps and Storage]

Kube-proxy log now shows the “Skipping topology-aware endpoint filtering since they don’t give any hints for zone” warning under the right conditions [SIG Network]

Kubeadm: In the new update, we now see removing the “ephemeral_storage” request received from the etcd static pod that kubeadm readily deploys on stacked etcd control plane nodes. The demand has caused sporadic failures on some setups due to problems in kubelet with cadvisor and LocalStorageCapacityIsolation feature gate. For more details, we can see https://github.com/kubernetes/kubernetes/issues/99305  [SIG Cluster Lifecycle]

Kubeadm: When we will use a custom image repository for CoreDNS, kubeadm will now append the “coredns” image name instead of “coredns/coredns”, thus the new update restoring the existing behaviour v1.21 release. Users who rely on a nested folder for the coredns image should set the “clusterConfiguration.dns.imageRepository” value including the nested pathname (e.g. using “registry.company.xyz/coredns” will now force kubeadm to use “registry.company.xyz/coredns/coredns” image). Furthermore, no action is needed if someone uses the default registry (k8s.gcr.io). [SIG Cluster Lifecycle]

Registering and deregistering of targets in chunks for AWS TargetGroup [SIG Cloud Provider]

In the new update, the server-side apply updates to the client-side to apply annotation for respecting the annotation size limit. Also, another fix to show the opt-out of this behaviour by setting the client-side apply annotation to the empty string. [SIG API Machinery]

Reverted the previous fix for portforward clean up because it has introduced a kubelet regression, leading to segmentation faults. [SIG API Machinery and Node]

CleanUps

Client-go: reduce the verbosity of “Starting/Stopping reflector” messages to 3 again [SIG API Machinery]

Updating the Debian images to pick up CVE fixes in the base images:

  • Updating the Debian-base image to v1.7.0
  • Updating the Debian-iptables image to v1.6.1 [SIG API Machinery and Testing]

Added Dependencies for Kubernetes v1.21.2

Changed Dependencies for Kubernetes 1.21.2

Removed Dependencies

github.com/checkpoint-restore/go-criu/v4: v4.1.0

Learn More:

Join 100+ cloud native enthusiasts

and stay in the loop on modern software development.

Sign up to receive exclusive content around cloud native software development right into your inbox.

We don’t spam! Read our privacy policy for more info.

More stories from our blog

How To Install Docker on Ubuntu 20.04?

How To Install Docker on Ubuntu 20.04?

Docker is an open-source tool that makes managing application processes in containers much easier. Containers allow you to run your programmes in separate processes with their own resources. Containers are comparable to virtual machines, except they're more portable,...

Answer to Everything isn’t 42, it’s Family

Answer to Everything isn’t 42, it’s Family

We’re experiencing digitisation. An era where every person has a voice, and it doesn’t matter if he’s wise. There’s more motivation circulating the vast stretches of the internet than it’s required. This would be good in a theoretical world, but if you seek the truth,...

What’s new in Gitlab 14? 🦊

What’s new in Gitlab 14? 🦊

GitLab 14 is out and fans must be thrilled to know about all the new features along with all the fixes and removals. In this post, we will go through the many changes and improvements, bug fixes, and some remarkable deprecations. We will see all of that here. So,...

k8s vs k3s: The Comprehensive Difference

k8s vs k3s: The Comprehensive Difference

Kubernetes is undoubtedly a champion in the container orchestration world. But currently, we see that K3s or a lightweight Kubernetes distribution which is light, efficient and fast with a drastically small footprint levelling up. Businesses nowadays scratch their...

What’s new in Fluentbit v1.8.1?

What’s new in Fluentbit v1.8.1?

Fluentbit is a lightweight and fast data processor and forwarder for Linux, BSD and OSX. And, for Fluentbit fans, there is good news as they have released their new update with lots of new features and fixes. We will have a look at all of them below. New Metrics...

What’s new in Envoy v1.19.0?

What’s new in Envoy v1.19.0?

Envoyproxy introduced its new version, 1.19.0, recently, and it came with many changes and improvements from the previous ones. We can see more stability in this version, along with specific bug fixes. So, without waiting any further, let’s see what the new version...

What’s new in Vitess 10?

What’s new in Vitess 10?

Vitess 10 is released with many excellent features and also many bug fixes that were bothering the user base. We are going to see all the features and exciting announcements. So, Let's roll! Major Themes in Vitess In this release, we can see that Vitess Maintainers...

What’s new in Contour 1.17.0?

What’s new in Contour 1.17.0?

Contour 1.17.0 is out with a layer seven HTTP reverse proxy for Kubernetes clusters. The new version has arrived with many new features and several fixes, which will make the functioning of the ingress controller smoother. More activities within the community came...

What’s new in Prometheus 2.28?

What’s new in Prometheus 2.28?

Prometheus 2.28 is out. If you don't know, Prometheus is an excellent open-source system monitoring and alerting toolkit. Let's have a look at those features and have a look at the changelog. Displaying Trace Examplers in the Graphic Interface From the previous...

GPT-J: GPT-3 Democratized

GPT-J: GPT-3 Democratized

GPT-J is the open source cousin of GPT-3 that everyone can use. The open source transformer is all about democratizing transformers and with 6b parameters it’s the largest transformer available. Read more here

Interested in what we do? Looking for help? Wanna talk about software strategy?