我正在尝试通过 EC2 中现有的 kops 集群 vpc 在 EKS 上创建一个集群,如下所示。
eksctl create cluster \
--name eks-cluster \
--version 1.18 \
--region us-east-1 \
--vpc-from-kops-cluster kops-cluster \
--fargate
但我遇到了错误,即集群不能有一个子网位于us-east-1c
kops-cluster 有三个子网us-east-1c
, us-east-1b
, us-east-1a
.
AWS::EKS::Cluster/ControlPlane: CREATE_FAILED – "Cannot create cluster 'eks-cluster' because us-east-1c, the targeted availability zone, does not currently have sufficient capacity to support the cluster. Retry and choose from these availability zones: us-east-1a, us-east-1b, us-east-1d, us-east-1e, us-east-1f (Service: AmazonEKS; Status Code: 400; Error Code: UnsupportedAvailabilityZoneException; Request ID: 8c5242ee-2e37-4f2b-98cd-c52cb2bbf523; Proxy: null)"
existing vpc
我正在尝试找到一种解决方法,以一种简单的方式在其中完成创建集群。