苏研这边测试环境的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
https://cloud.tencent.com/developer/article/2327654
https://zhuanlan.zhihu.com/p/380878219
标签:v1alpha2,containerd,调查,v1,版本升级,https,v1.6,com From: https://www.cnblogs.com/l402072123/p/18297570