在任何地方使用 eks 创建集群时出错

Error creating cluster using eks anywhere

我正在尝试在任何地方使用 eks 在 centos7 机器上创建本地集群。但是我遇到了以下错误。如果我遗漏了什么,请告诉我?这是我要创建集群的 link。我还附加了集群创建 yaml 文件

Link: https://aws.amazon.com/blogs/aws/amazon-eks-anywhere-now-generally-available-to-create-and-manage-kubernetes-clusters-on-premises/

错误: 错误:创建集群失败:等待工作负载集群的外部 etcd 准备就绪时出错:执行等待时出错:错误:等待条件 clusters/dev-cluster

时超时

clustercreate yaml file


默认规范将查找外部 etcd。要在本地测试它,请删除 externalEtcdConfiguration:

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Cluster
metadata:
  name: dev-cluster
spec:
  clusterNetwork:
    cni: cilium
    pods:
      cidrBlocks:
      - 192.168.0.0/16
    services:
      cidrBlocks:
      - 10.96.0.0/12
  controlPlaneConfiguration:
    count: 1
  datacenterRef:
    kind: DockerDatacenterConfig
    name: dev-cluster
  kubernetesVersion: "1.21"
  workerNodeGroupConfigurations:
  - count: 1
---
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: DockerDatacenterConfig
metadata:
  name: dev-cluster
spec: {}
---