This release updates Kubernetes to v1.21.2.
Before upgrading from earlier releases, be sure to read the Kubernetes Urgent Upgrade Notes.
Changes since K3s v1.21.1+k3s1:
- Upgrade Kubernetes to v1.21.2 (#3479)
- Added the ability to perform a deletion of an etcd snapshot from either local storage or an S3 compatible object store (#3354)
- Add a path for wireguard's privatekey, prevents writing files to root / (#3403)
- Changed RBAC cloud-controller-manager name to prevent errors with external cloud providers (3408)
- Created new client-cloud-controller certificates to allow upgrades from old ccm to new ccm (3472)
- Add kubernetes.default.svc to serving certificates (3424)
- Updated iptables version check in k3s check-config (3454)
- Send systemd notifications for both server and agent (3460)
These were missed in the last patch notes but were in v1.21.1
- Fix for sysctl errors with kernel 5.12.2 or newer (#3341)
Known Issues:
- There is a regression that may cause issues with deleting nodes due to finalizers not being removed. If you observe a node is stuck for some time and is not being deleted you can describe the node to see if any finalizers remain. If there are any finalizers, you can work around this issue by running the following command to remove the finalizers:
# replace $NODENAME with the name of the node
kubectl patch node $NODENAME -p '{"metadata":{"finalizers":[]}}' --type=merge
Embedded Component Versions
Component | Version |
---|---|
Kubernetes | v1.21.2 |
Kine | v0.6.0 |
SQLite | 3.33.0 |
Etcd | v3.4.13-k3s1 |
Containerd | v1.4.4-k3s2 |
Runc | v1.0.0-rc95 |
Flannel | v0.14.0 |
Metrics-server | v0.3.6 |
Traefik | v2.4.8 |
CoreDNS | v1.8.3 |
Helm-controller | v0.9.1 |
Local-path-provisioner | v0.0.19 |
Helpful Links
As always, we welcome and appreciate feedback from our community of users. Please feel free to:
- Open issues here
- Join our Slack channel
- Check out our documentation for guidance on how to get started or to dive deep into K3s.
- Read how you can contribute here