美文网首页
kubernetes node error: Failed to

kubernetes node error: Failed to

作者: 橘子基因 | 来源:发表于2020-10-09 17:53 被阅读0次

问题描述:
在kubernetesji集群从1.16.x版本升级到1.17.x版本地时候报错:

Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: the server could not find the requested resource

原因:
升级一个控制面板时,虽然单个控制面板升级到1.17.x了,但是集群的版本还是1.16.x的,不支持针更高版本的API。
解决方法:
编辑配置文件/var/lib/kubelet/config.yaml,在其增加以下配置:

featureGates:
  CSIMigration: false

重启kubelet:

systemctl daemon-reload 
systemctl restart kubelet

相关文章

网友评论

      本文标题:kubernetes node error: Failed to

      本文链接:https://www.haomeiwen.com/subject/vmzlpktx.html