**已关闭。**此问题为not about programming or software development。目前不接受回答。
此问题似乎与a specific programming problem, a software algorithm, or software tools primarily used by programmers无关。如果您认为此问题与another Stack Exchange site的主题相关,可以发表评论,说明在何处可以回答此问题。
8天前关闭
Improve this question的
enter image description here的
[node1 ~]$ eksctl create cluster --name demo-cluster --region us-east-1 --fargate
2023-12-28 07:58:11 [ℹ] eksctl version 0.167.0[solution ](https://i.stack.imgur.com/63qyZ.png)
2023-12-28 07:58:11 [ℹ] using region us-east-1
2023-12-28 07:58:11 [ℹ] building cluster stack "eksctl-demo-cluster-cluster"
2023-12-28 07:58:12 [!] 1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console2023-12-28 07:58:12 [ℹ] to cleanup resources, run 'eksctl delete cluster --region=us-east-1 --name=demo-cluster'2023-12-28 07:58:12 [✖] creating CloudFormation stack "eksctl-demo-cluster-cluster": operation error CloudFormation: CreateStack, https response error StatusCode: 400, RequestID: 1c82713d-32c3-4f3f-85ff-f9fb4eb244e5, AlreadyExistsException: Stack [eksctl-demo-cluster-cluster] already existsError:
failed to create cluster "demo-cluster"
字符串
1条答案
按热度按时间fzwojiic1#
从错误消息中,名称
demo-cluster
已经存在。您可以先删除此堆栈,这可能是上次失败尝试的遗留结果:eksctl delete cluster --region=us-east-1 --name=demo-cluster
个如果eksctl无法删除堆栈,您可以登录控制台,进入CloudFormation手动删除堆栈。
清理后重新运行eksctl命令。