我是第一次在AWS上使用Kubernetes play-ground创建集群,但我是这个问题,请帮助我[关闭]

h6my8fg2  于 12个月前  发布在  Kubernetes
关注(0)|答案(1)|浏览(109)

**已关闭。**此问题为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"

字符串

fzwojiic

fzwojiic1#

从错误消息中,名称demo-cluster已经存在。您可以先删除此堆栈,这可能是上次失败尝试的遗留结果:
eksctl delete cluster --region=us-east-1 --name=demo-cluster
如果eksctl无法删除堆栈,您可以登录控制台,进入CloudFormation手动删除堆栈。
清理后重新运行eksctl命令。

相关问题