简体   繁体   English

EKS 节点组的 AWS VPC

[英]AWS VPC for EKS node group

I am trying to create a Node group in my EKS cluster, but I am getting '''NodeCreationFailure: Instances failed to join the kube.netes cluster'''.我正在尝试在我的 EKS 集群中创建一个节点组,但我收到“NodeCreationFailure:实例无法加入 kube.netes 集群”。 EKS 节点组健康错误

After reading many documentations I think the problem is in the VPC configuration.阅读了许多文档后,我认为问题出在 VPC 配置中。 I've tried multiple solutions like enabling DNS host name, and adding endpoints to the su.nets but still having the same error.我尝试了多种解决方案,例如启用 DNS 主机名,以及向 su.nets 添加端点,但仍然出现相同的错误。 Can any one guide me to solve this issue?谁能指导我解决这个问题?

First, make sure that the VPC and Su.net configurations are correct and that the EC2 instances that you are trying to create the Node Group with have the correct security group settings.首先,确保 VPC 和 Su.net 配置正确,并且您尝试创建节点组的 EC2 实例具有正确的安全组设置。

Next, ensure that the EC2 instances have the correct IAM role attached and that it has the necessary permissions for the EKS cluster.接下来,确保 EC2 实例附加了正确的 IAM 角色,并且它具有 EKS 集群的必要权限。

Finally, ensure that the IAM user or role that you are using to create the Node Group has the correct permission for the EKS cluster.最后,确保您用于创建节点组的 IAM 用户或角色对 EKS 集群具有正确的权限。

If all of the above are configured correctly, you may need to check the EKS cluster logs to troubleshoot further.如果以上所有配置都正确,您可能需要检查 EKS 集群日志以进一步排除故障。 You can do this by running the command "kubectl get events --sort-by=.metadata.creationTimestamp" in the EKS cluster.您可以通过在 EKS 集群中运行命令“kubectl get events --sort-by=.metadata.creationTimestamp”来执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM