v1.31.X

Upgrade Notice

Before upgrading from earlier releases, be sure to read the Kubernetes Urgent Upgrade Notes.

Version Release date Kubernetes Etcd Containerd Runc Metrics-server CoreDNS Ingress-Nginx Helm-controller Canal (Default) Calico Cilium Multus

v1.31.0+rke2r1

Sep 04 2024

v1.31.0

v3.5.13-k3s1

v1.7.20-k3s1

v1.1.13

v0.7.1

v1.11.1

v1.10.4-hardened2

v0.16.3

Flannel v0.25.6
Calico v3.28.1

v3.28.1

v1.16.1

v4.0.2

Release v1.31.0+rke2r1

This v1.31.0+rke2r1 release updates Kubernetes to v1.31.0.

Important Notes

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.30.4+rke2r1

  • Fix RoleBinding/ClusterRoleBinding subject growth (#6273)

  • Improve agent logs dir default permissions (#6276)

  • Refactor run_tests.sh script (#6280)

  • Add e2e test about mixedos+flannel (#6063)

  • Add data-dir to uninstall and killall scripts (#6296)

  • Bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 (#6246)

  • Bump alpine from 3.19 to 3.20 (#6017)

  • Add multiple ingress controller support + traefik (#5943)

  • Bump multus to v4.0.206 (#6311)

  • Rke2 shell completion (#6305)

    • RKE2 now support shell completion

  • Bump K3s version for master (#6315)

  • Change fapolicyd rules to full replacement rather than append (#6309)

  • Bump vsphere csi chart to 3.3.0-rancher100 and cpi to 1.8.000 (#6340)

  • Upload tarball with merges to master and release branches (#6316)

  • Add updatecli configuration to update vsphere cpi and csi charts (#5326)

  • Fix secrets for commit id uploads (#6359)

  • Fix secrets for commit id uploads (#6360)

  • Publish binaries in dapper (#6375)

  • Fix decompressing gh tool in Dockerfile (#6378)

  • Fixing pat_username (#6383)

  • Stage CNI (and harvester) images if avaliable for airgap (#6275)

  • Add missing package windows step in release (#6387)

  • Add manifest pipeline for rke2-runtime docker image (#6397)

  • Fix dispatch script (#6405)

  • Bump rke2-coredns to add option to use nodelocal dns cache with cilium Local Redirect Policy (#6372)

  • Add traefik airgap image tarball (#6439)

  • Support Amazon Linux 2 rpm installs (#6429)

  • Update channel server for July 2024 release (#6450)

  • Fix external etcd connection (#6355)

  • Add netpol template for traefik (#6452)

  • Bump rke2-calico chart to v3.28.100 (#6473)

  • Bump ingress-nginx to hardened2 (#6448)

  • Bump rke2-canal to v3.28.1-build2024080600 (#6496)

  • Update flannel to v0.25.5 (#6498)

  • Update Cilium to v1.16.0 (#6500)

  • Bump k3s and containerd (#6523)

  • Added check if the node is rebooted before the networks is deleted on windows (#6437)

  • Modify rke2-killall.sh to handle RKE2_DATA_DIR (#6531)

  • Bump Harvester CSI driver v0.1.18 (#6392)

    • Bump Harvester-csi-driver v0.1.18

  • Bump containerd/crictl/runc versions (#6551)

  • Fix kill all script to not delete data dir (#6558)

  • Fix traefik netpol annotation key (#6569)

  • Fix windows airgap image packaging (#6580)

  • Update to cilium v1.16.1 (#6577)

  • Fixed Flannel chart to rightly disable nft (#6606)

  • Bump ingress-nginx to v1.10.4-hardened2 (#6591)

  • Fix traefik netpol port names (#6619)

  • Update channel server for August 2024 release (#6642)

  • Bump canal to v3.28.1-build20240827 (#6659)

  • Bump runc to v1.1.13 (#6623)

  • Update Kubernetes to v1.31.0 (#6625)

  • Bump K8s to v1.31.0-k3s3 (#6665)

  • Feat: bump harvester-cloud-provider to v0.2.6 (#6667)

Charts Versions

Component Version

rke2-cilium

1.16.101

rke2-canal

v3.28.1-build2024082701

rke2-calico

v3.28.100

rke2-calico-crd

v3.28.100

rke2-coredns

1.29.004

rke2-ingress-nginx

4.10.401

rke2-metrics-server

3.12.002

rancher-vsphere-csi

3.3.1-rancher100

rancher-vsphere-cpi

1.9.000

harvester-cloud-provider

0.2.600

harvester-csi-driver

0.1.1800

rke2-snapshot-controller

1.7.202

rke2-snapshot-controller-crd

1.7.202

rke2-snapshot-validation-webhook

1.7.302