containerd版本升级影响调查
这边测试环境的containerd版本是1.5.7,生产环境的会是1.6.28,排查版本不同的影响。
调研
1. 更新影响
containerd版本1.5.7 升级到1.6.28,是软件本身的优化和修复,对业务暂时没有排查到明显的影响。
数据来源:
https://github.com/containerd/containerd/releases/tag/v1.6.0
https://github.com/containerd/containerd/releases/tag/v1.6.28
https://github.com/containerd/containerd/releases/tag/v1.6.20
https://help.aliyun.com/zh/ack/product-overview/release-notes-for-containerd
https://zhuanlan.zhihu.com/p/470069245
2. 版本支持
Kubernetes 从 1.26 版本开始仅适用于 v1 版本的容器运行时(CRI)API。早期版本默认为 v1 版本, 但是如果容器运行时不支持 v1 版本的 API, 则 kubelet 会回退到使用(已弃用的)v1alpha2 版本的 API。
https://kubernetes.io/zh-cn/docs/setup/production-environment/container-runtimes/
containerd v1.6., and v1.7. support CRI v1 and v1alpha2 through EOL as those releases continue to support older versions of k8s, cloud providers, and other clients using CRI v1alpha2. CRI v1alpha2 is deprecated in v1.7 and will be removed in containerd v2.0.
containerd v1.6.,以及v1.7. 直到停止维护前均支持CRI接口 v1和v1alpha2,因为这些版本继续支持旧版本的k8s、云提供商和其他使用CRI v1alpha2的客户端。
*containerd v1.6. LTS*: The release is a long term stable branch which is currently supported and accepting patches
containerd v1.6.* 是长期稳定版本,结合下表,containerd v1.6兼容1.20+后的k8s版本。
Containerd Version | Kubernetes Version | CRI Version |
---|---|---|
v1.0 (w/ cri-containerd) | 1.7, 1.8, 1.9 | v1alpha1 |
v1.1 | 1.10+ | v1alpha2 |
v1.2 | 1.10+ | v1alpha2 |
v1.3 | 1.12+ | v1alpha2 |
v1.4 | 1.19+ | v1alpha2 |
v1.5 | 1.20+ | v1 (1.23+), v1alpha2 |
Kubernetes Version | containerd Version | CRI Version |
---|---|---|
1.26 | 1.7.0+, 1.6.15+ | v1, v1alpha2 ** |
1.27 | 1.7.0+, 1.6.15+ | v1 |
1.28 | 1.7.0+, 1.6.15+ | v1 |
1.29 | 1.7.11+, 1.6.27+ | v1 |
1.30(wip) | 2.0(wip), 1.7.13+, 1.6.28+ | v1 |
https://containerd.io/releases/
链接:
github
https://github.com/containerd/containerd
https://github.com/containerd/containerd/releases/tag/v1.6.0
https://github.com/containerd/containerd/releases/tag/v1.6.28
containerd 和 docker
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异