![](/img/trans.png)
[英]EKS Cluster in a private subnet - unhealthy nodes in the kubernetes cluster
[英]EKS: Unhealthy nodes in the kubernetes cluster
使用 terraform 在 AWS EKS 上预置节点组时出现错误。 错误:等待创建 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 个私有子网并通过 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)
go inside the coredns
, both pods are in pending state, and conditions has “Available=False, Deployment does not have minimum availability”
and “Progress=False, ReplicaSet xxx has timed out progressing”
go inside the one of the pod in aws-node
,状态显示“Waiting - CrashLoopBackOff”
添加 pod 网络插件
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/2140ac876ef134e0ed5af15c65e414cf26827915/Documentation/kube-flannel.yml
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.