Skip to content

v1.22.7+rke2r1

Compare
Choose a tag to compare
@brooksn brooksn released this 23 Feb 19:20
· 133 commits to release-1.22 since this release
2bc7ff9

This release updates Kubernetes to v1.22.7, fixes a number of minor issues, and includes security updates.

Important Note

If your server (control-plane) nodes were not started with the --token CLI flag or config file key, a randomized token was generated during initial cluster startup. This key is used both for joining new nodes to the cluster, and for encrypting cluster bootstrap data within the datastore. Ensure that you retain a copy of this token, as is required when restoring from backup.

You may retrieve the token value from any server already joined to the cluster:

cat /var/lib/rancher/rke2/server/token

Changes since v1.22.7+rke2r1:

  • [release 1.22] Fix a typo in the meta-data endpoint (#2422)
  • [Release 1.22] Upgrade calico (#2433)
  • [release-1.22] Wait for CRI service to become available before starting temp kubelet (#2395)
  • [Release 1.22] Update canal to newer chart with bugfix (#2429)
  • [Release 1.22] Update canal to v3.21.4 (#2452)
  • Add seccomp annotations to unrestricted PSP (#2440) (#2450)
  • [release-1.22] Helm Chart improvements (#2458)
  • Fixed a regression that prevented --disable from removing previously installed components. (#2472)
  • Update Kubernetes to v1.22.7 (#2494)
  • [v1.22] Pin Calico to v3.21.4 for windows (#2499)

Packaged Component Versions

Component Version
Kubernetes v1.22.7
Etcd v3.5.1-k3s1
Containerd v1.5.9-k3s1
Runc v1.0.3
CNI Plugins v0.9.1
Metrics-server v0.5.0
CoreDNS v1.8.5
Ingress-Nginx 4.0.3
Helm-controller v0.11.8

Available CNIs

Component Version FIPS Compliant
Canal (Default) Flannel v0.16.1-rancher1
Calico v3.21.4
Yes
Calico v3.21.4 No
Cilium v1.10.4 No
Multus v3.7.1 No

Known Issues

  • #1447 - When restoring RKE2 from backup to a new node, you should ensure that all pods are stopped following the initial restore:
curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_VERSION=v1.22.7+rke2r1
rke2 server \
  --cluster-reset \
  --cluster-reset-restore-path=<PATH-TO-SNAPSHOT> --token <token used in the original cluster>
rke2-killall.sh
systemctl enable rke2-server
systemctl start rke2-server

Currently an issue is preventing the airgap install on Windows from starting properly. A workaround is to pass --runtime-image=rancher/rke2-runtime:<VERSION>-windows-amd64 as an additonal flag or add runtime-image: rancher/rke2-runtime:<VERSION>-windows-amd64 to the config.yaml.

Helpful Links

As always, we welcome and appreciate feedback from our community of users. Please feel free to: