1

我正在EKS-Anywhere按照以下步骤创建本地集群:创建本地集群 | EKS 无处不在

执行此命令后出现以下错误。

eksctl anywhere create cluster -f $CLUSTER_NAME.yaml

Performing setup and validations
Warning: The docker infrastructure provider is meant for local development and testing only
✅ Docker Provider setup is valid
Creating new bootstrap cluster
Installing cluster-api providers on bootstrap cluster
Provider specific setup
Creating new workload cluster
Installing networking on workload cluster
Installing storage class on workload cluster
Installing cluster-api providers on workload cluster
Moving cluster management from bootstrap to workload cluster
Error: failed to create cluster: error moving CAPI management from source to target: failed moving management cluster: Performing move...
Discovering Cluster API objects
Moving Cluster API objects Clusters=1
Creating objects in the target cluster
Deleting objects from the source cluster
Error: action failed after 10 attempts: failed to connect to the management cluster: action failed after 9 attempts: Get https://127.0.0.1:43343/api?timeout=30s: EOF


4

2 回答 2

1

升级你的cert-manager

存在已知问题:现有 cert-manager 运行 1.0+ 时 clusterctl init 失败 · 问题 #3836 · kubernetes-sigs/cluster-api

并且有一个解决方案:⚠️ 由 fabriziopandini 将 cert-manager 升级到 v1.1.0 · Pull Request #4013 · kubernetes-sigs/cluster-api

有效:

Cluster API 现在正在使用 cert-manager v1.1.0,所以这应该不再是问题了

所以,我建议升级。

于 2021-10-10T07:42:34.660 回答
0

It could be a resource constraint on your docker deployment. How much RAM and disk is Docker configured with. I have something like 16gb RAM and 60 gig disk which is more than required, but it does work.

于 2021-10-11T17:59:14.060 回答