gpt4 book ai didi

amazon-web-services - EKS : Unhealthy nodes in the kubernetes cluster

转载 作者:行者123 更新时间:2023-12-04 03:43:06 27 4
gpt4 key购买 nike

在 AWS EKS 上使用 terraform 预置节点组时出现错误。
错误:WAITING EKS 节点组 (xxx) 创建时出错:NodeCreationFailure: Unhealthy nodes in the kubernetes cluster.我去控制台检查了节点。有消息“runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker network plugin is not ready: cni config uninitialized” .
我有 5 个私有(private)子网并通过 NAT 连接到 Internet。
有人能给我一些关于如何调试的提示吗?
这是我的环境的一些细节。

Kubernetes version: 1.18
Platform version: eks.3
AMI type: AL2_x86_64
AMI release version: 1.18.9-20201211
Instance types: m5.xlarge
集群中设置了三个工作负载。
coredns, STATUS (2 Desired, 0 Available, 0 Ready)
aws-node STATUS (5 Desired, 5 Scheduled, 0 Available, 0 Ready)
kube-proxy STATUS (5 Desired, 5 Scheduled, 5 Available, 5 Ready)
进入 coredns ,两个 pod 都处于挂起状态,条件为 “Available=False, Deployment does not have minimum availability”“Progress=False, ReplicaSet xxx has timed out progressing”进入 aws-node 中的 pods 之一,状态显示 “Waiting - CrashLoopBackOff”

最佳答案

添加 pod 网络插件

kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/2140ac876ef134e0ed5af15c65e414cf26827915/Documentation/kube-flannel.yml

关于amazon-web-services - EKS : Unhealthy nodes in the kubernetes cluster,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65608656/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com