发布日期: 2025-02-27
版本号: v1.31.6+k3s1

该版本将Kubernetes升级至v1.31.6,并修复多项问题。主要变更包括:修正k3s token命令帮助说明;进行2025年测试优化及E2E到Docker的迁移;调整CLI报告的默认--etcd-snapshot-dir值以与实际一致,禁用S3传输透明压缩/解压,支持从AWS SDK共享凭证文件加载S3凭据;升级多个组件版本(klipper-helm、klipper-lb、spegel、local-path-provisioner、kine、etcd、traefik等)。其中Containerd升级至2.0版本,合并Linux与Windows配置模板,需用户迁移自定义配置至config-v3.toml.tmpl格式。此外修复CNI目录配置生成逻辑及go-cni死锁问题,并更新Go语言至1.22.12版本。核心组件版本包括Kubernetes v1.31.6、Kine v0.13.9、Etcd v3.5.18-k3s1、Containerd v2.0.2-k3s2、Traefik v2.11.20等。

更新内容 (中文)

本次发布将 Kubernetes 更新至 v1.31.6 版本,并修复了若干问题。

有关新特性的详细信息,请参阅 Kubernetes 发布说明

自 v1.31.5+k3s1 版本以来的变更:

  • 修正 k3s token 命令帮助信息 (#11685)
  • 2025年1月测试流程优化及E2E测试向Docker迁移 (#11724)
  • 2025年2月补丁回传 (#11732)
    • 统一 CLI 显示的默认 --etcd-snapshot-dir 值与实际值(server, etcd-snapshot 命令)
    • 禁用 s3 传输透明压缩/解压缩
    • Etcd 快照备份/恢复现支持从 AWS SDK 共享凭证文件加载 s3 凭据
    • 升级 klipper-helm 至 v0.9.4
    • 升级 klipper-lb 至 v0.4.10
    • 升级 spegel 至 v0.0.30
    • 升级 local-path-provisioner 至 v0.0.31
    • 升级 kine 至 v0.13.8
    • 升级 etcd 至 v3.5.18
    • 升级 traefik 至 2.11.20
    • Containerd 已升级至 2.0 版本
    • Linux 和 Windows 的 containerd 配置模板已合并,不再区分操作系统
    • Containerd 2.0 使用新版配置文件架构。若使用自定义 containerd 配置模板,需迁移至 config-v3.toml.tmpl 以适配新版本。详见上游文档
  • 升级 traefik 至 v2.11.20 (#11763)
  • 升级至 v1.31.6-k3s1 和 Go 1.22.12 (#11787)
  • 设置变量时自动生成 CNI 目录配置 (#11820)
  • 升级 containerd 修复 go-cni 死锁问题 (#11834)

内置组件版本

组件 版本
Kubernetes v1.31.6
Kine v0.13.9
SQLite 3.46.1
Etcd v3.5.18-k3s1
Containerd v2.0.2-k3s2
Runc v1.2.4-k3s2
Flannel v0.25.7
Metrics-server v0.7.2
Traefik v2.11.20
CoreDNS v1.12.0
Helm-controller v0.16.6
Local-path-provisioner v0.0.31

相关链接

我们一如既往欢迎用户社区的反馈,您可以通过以下方式参与:

更新内容 (原始)

This release updates Kubernetes to v1.31.6, and fixes a number of issues.

For more details on what’s new, see the Kubernetes release notes.

Changes since v1.31.5+k3s1:

  • Correct the k3s token command help (#11685)
  • Jan 2025 Testing Overhaul, E2E to Docker Migration, (#11724)
  • Backports for 2025-02 (#11732)
    • Align the CLI-reported default --etcd-snapshot-dir value with the actual one (server, etcd-snapshot commands).
    • Disable s3 transport transparent compression/decompression
    • Etcd snapshot backup/restore now supports loading s3 credentials from an AWS SDK shared credentials file.
    • Bump klipper-helm to v0.9.4
    • Bump klipper-lb to v0.4.10
    • Bump spegel to v0.0.30
    • Bump local-path-provisioner to v0.0.31
    • Bump kine to v0.13.8
    • Bump etcd to v3.5.18
    • Bump traefik to 2.11.20
    • Containerd has been bumped to version 2.0.
    • The containerd config templates for linux and windows have been consolidated and are no longer os-specific.
    • Containerd 2.0 uses a new config file schema. If you are using a custom containerd config template, you should migrate your template to config-v3.toml.tmpl to switch to the new version. See the upstream documentation for more information.
  • Bump traefik to v2.11.20 (#11763)
  • Update to v1.31.6-k3s1 and Go 1.22.12 (#11787)
  • Render CNI dir config whenever vars are set (#11820)
  • Bump containerd for go-cni deadlock fix (#11834)

Embedded Component Versions

Component Version
Kubernetes v1.31.6
Kine v0.13.9
SQLite 3.46.1
Etcd v3.5.18-k3s1
Containerd v2.0.2-k3s2
Runc v1.2.4-k3s2
Flannel v0.25.7
Metrics-server v0.7.2
Traefik v2.11.20
CoreDNS v1.12.0
Helm-controller v0.16.6
Local-path-provisioner v0.0.31

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

下载链接