首页 新闻 会员 周边 捐助

Kubernetes 升级至 1.27.1 的过程中出现2个警告

0
悬赏园豆:50 [已解决问题] 解决于 2023-05-07 21:16

通过下面的命令进行升级 k8s 集群

kubeadm upgrade apply v1.27.1 --ignore-preflight-errors=CoreDNSUnsupportedPlugins --force

出现下面2个警告

W0507 07:19:20.105839  134725 images.go:80] could not find officially supported version of etcd for Kubernetes v1.27.1, falling back to the nearest etcd version (3.5.7-0)
W0507 07:19:30.854677  134725 checks.go:835] detected that the sandbox image "registry.aliyuncs.com/google_containers/pause:3.6" of the container runtime is inconsistent with that used by kubeadm. It is recommended that using "registry.aliyuncs.com/google_containers/pause:3.9" as the CRI sandbox image. --force

请问这2个警告是否有负面影响?

k8s
dudu的主页 dudu | 高人七级 | 园豆:30925
提问于:2023-05-07 07:30
< >
分享
最佳答案
1

etcd最好还是升级一下,否则1.27.1与etcd相关的功能可能会不可用,参见https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.27.md

registry.aliyuncs.com/google_containers/pause 这个应该影响不大,告警级别是recommended,changelog看下
https://github.com/kubernetes/kubernetes/blob/master/build/pause/CHANGELOG.md

收获园豆:50
charlieroro | 菜鸟二级 |园豆:461 | 2023-05-07 17:52

目前没有升级 etcd,没发现问题,CHANGELOG 中与 etcd 相关的一项是:

etcd: Updated to v3.5.7

etcd 最新版是 3.5.8

dudu | 园豆:30925 (高人七级) | 2023-05-07 18:30

@dudu: etcd没升级对集群运行该没啥影响,对新特性运行有影响

charlieroro | 园豆:461 (菜鸟二级) | 2023-05-07 18:38

@charlieroro: 那我找时间升级一下

dudu | 园豆:30925 (高人七级) | 2023-05-07 18:43
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册