无法继续升级过程,因为新节点未加入节点组标准工作程序

Couldn't proceed with upgrade process as new nodes are not joining node group standard-workers

我正在尝试将我的 kubernetes 版本从 1.14 升级到 1.15,集群升级很顺利,但是当我尝试更新节点时,我看到了消息 Couldn't proceed with upgrade process as new nodes are not joining node group standard-workers . I had created the nodes using eksctl.

我在工作负载下检查新节点详细信息时看到以下错误。

runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

我还检查了与新节点相关联的标签,它们都一样,只有一点不同,现有节点的 aws:ec2launchtemplate:version 设置为 1,新节点也设置了至 4

我查看了CNI插件版本,推荐的是最新的

kubectl describe daemonset aws-node --namespace kube-system | grep Image | cut -d "/" -f 2
amazon-k8s-cni-init:v1.7.5-eksbuild.1
amazon-k8s-cni:v1.7.5-eksbuild.1

任何关于如何解决这个问题的帮助都会很有帮助。

TIA

您可能需要更新您的 CNI 版本。请按照此处的 CNI 升级教程进行操作: https://docs.aws.amazon.com/eks/latest/userguide/cni-upgrades.html

对于访问 post 的其他人。我发现问题出在我用来配置 kube 代理的 url

根据文档 https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html,它说

Update kube-proxy to the recommended version by taking the output from the 
previous step and replacing the version tag with your cluster's recommended
 kube-proxy version:


kubectl set image daemonset.apps/kube-proxy \
    -n kube-system \
    kube-proxy=<602401143452.dkr.ecr.us-west-2.amazonaws.com>/eks/kube-proxy:v<1.18.9>-eksbuild.1

Your account ID and Region may differ from the example above.

我误解了账户ID的最后一部分,将其替换为我的账户ID,导致找不到图像。

使用帐户 ID 602401143452 的正确 link 后,我能够解决问题并且节点组升级成功。

希望这对您有所帮助,谢谢。