amazon-web-services - AWS EKS 节点组 "Create failed": Instances failed to join the kubernetes cluster

标签 amazon-web-services kubernetes amazon-ec2 amazon-eks

我能够创建 EKS 集群,但是当我尝试添加节点组时,我收到“创建失败”错误,其中包含详细信息:
“NodeCreationFailure”:实例加入kubernetes集群失败
我尝试了各种实例类型,并在没有运气的情况下增加了更大的卷大小 (60gb)。
查看 EC2 实例,我只看到以下问题。但是,由于我没有直接启动 EC2 实例,因此很难做任何事情(EKS NodeGroup UI 向导正在这样做。)
如果在我可以跳入 ec2 机器并“修复”它们之前发生故障,那么如何前进?

Amazon Linux 2

Kernel 4.14.198-152.320.amzn2.x86_64 on an x86_64

ip-187-187-187-175 login: [ 54.474668] cloud-init[3182]: One of the configured repositories failed (Unknown), [ 54.475887] cloud-init[3182]: and yum doesn't have enough cached data to continue. At this point the only [ 54.478096] cloud-init[3182]: safe thing yum can do is fail. There are a few ways to work "fix" this: [ 54.480183] cloud-init[3182]: 1. Contact the upstream for the repository and get them to fix the problem. [ 54.483514] cloud-init[3182]: 2. Reconfigure the baseurl/etc. for the repository, to point to a working [ 54.485198] cloud-init[3182]: upstream. This is most often useful if you are using a newer [ 54.486906] cloud-init[3182]: distribution release than is supported by the repository (and the [ 54.488316] cloud-init[3182]: packages for the previous distribution release still work). [ 54.489660] cloud-init[3182]: 3. Run the command with the repository temporarily disabled [ 54.491045] cloud-init[3182]: yum --disablerepo= ... [ 54.491285] cloud-init[3182]: 4. Disable the repository permanently, so yum won't use it by default. Yum [ 54.493407] cloud-init[3182]: will then just ignore the repository until you permanently enable it [ 54.495740] cloud-init[3182]: again or use --enablerepo for temporary usage: [ 54.495996] cloud-init[3182]: yum-config-manager --disable

最佳答案

在列表中添加另一个原因:
在我的情况下 节点 正在运行 在私有(private)子网中 我还没有配置私有(private)端点 在 API 服务器端点访问下。
更新后节点组没有自动更新,所以我不得不重新创建它们。

关于amazon-web-services - AWS EKS 节点组 "Create failed": Instances failed to join the kubernetes cluster,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64515585/

相关文章:

amazon-web-services - AWS Elastic Search是否为未知的新键设置了架构/映射?

go - Cron 作业作为程序或原生 k8s 方式

amazon-web-services - AWS Batch CLIENT_ERROR IamInstanceProfile 无效

c++ - aws-cpp-sdk : How to IoT publish using MQTT over Web Socket (in c++)

kubernetes - 在 Digitalocean 单节点集群上通过 helm 安装时的 Traefik 仪表板/Web UI 404

kubernetes - Kubernetes/Openshift 上的 Gitlab-Runner

mysql - AWS CentOS 6.5 实例 + AWS EBS 卷用于 Web 托管文件和数据库?

linux - 如何在 AWS S3 存储桶中查找重复文件?

amazon-web-services - 在 Amazon EC2 实例上安装 SSL 证书

linux - 如何查找AWS EC2上CPU利用率100%的原因?