RKE2 - v1.22.8+rke2r1

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

Important Note

This release includes a breaking change to how Cilium helm chart values are customized.

Previously, the cilium CNI was bundled as a subchart of the rke2-cilium chart, and all chart values were nested under the top-level cilium key within the valuesContent section. As of this release, the subchart has been removed and nesting is no longer necessary. Chart values should be placed directly within the valuesContent section.
For example, if you previously had:

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
  name: rke2-cilium
  namespace: kube-system
  valuesContent: |-
        enabled: true

That should be converted to:

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
  name: rke2-cilium
  namespace: kube-system
  valuesContent: |-
      enabled: true

Cluster Join Token

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+rke2r2:

  • Update Cilium to 1.11.2 (#2609)
  • bump containerd to 1.5.10 for windows, rm wins/flannel (#2612)
  • Update CentOS 8 smoke vm's with vault repositories (#2613)
  • Bump containerd to v1.5.10-k3s1 (#2568)
  • Explicitly retag runtime for linux and windows (#2617)
  • Fix canal bug (#2634)
  • Add force-restart file when cluster-reset-restore-path is passed (#2657)
  • Bump coredns to 1.9.1 (#2655)
  • Update K3s and helm-controller (#2660)
  • March release v1.22.8 (#2641)
  • Revert "[Release-1.22] Explicitly retag runtime for linux and windows" (#2666)
  • hardcode linker flag for windows runtime image (#2669)
  • Update nginx from hardened2 to hardened4 (#2674)
  • Fix uninstall script in SLES systems (#2693)
  • Bump K3s version for v1.22 (#2688)
  • k3s pin for containerd npipe fix + calico panic fix (#2701)
  • Cilium update brings an important change in how the helm chart is consumed when a user wants to set some customized values via helmChartConfig. Please see this link for more details

Packaged Component Versions

| Component | Version |
| --------------- | ------------------------------------------------------------------------------------------------- |
| Kubernetes | v1.22.8 |
| Etcd | v3.5.1-k3s1 |
| Containerd | v1.5.10-k3s1 |
| Runc | v1.0.3 |
| Metrics-server | v0.5.0 |
| CoreDNS | v1.9.1 |
| Ingress-Nginx | 4.0.3 |
| Helm-controller | v0.12.0 |

Available CNIs

| Component | Version | FIPS Compliant |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| Canal (Default) | Flannel v0.17.0
Calico v3.21.4 | Yes |
| Calico | v3.21.4 | No |
| Cilium | v1.11.2 | No |
| Multus | v3.7.1 | No |

Known Issues

  • The etcd maintainers have recommended against the use of etcd 3.5.0-3.5.2 for new production workloads, due to a recently discovered bug that may cause data loss when etcd is killed under high load. Please see this link for more details.

  • #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.8+rke2r1
rke2 server \
  --cluster-reset \
  --cluster-reset-restore-path=<PATH-TO-SNAPSHOT> --token <token used in the original cluster>
systemctl enable rke2-server
systemctl start rke2-server

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.


March 31, 2022, 12:04 a.m.
Register or login to:
  • 🔍View and search all RKE2 releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google