简体   繁体   English

Kops Create Cluster因AWS Linux中的八卦失败

[英]Kops Create Cluster fails with gossip in AWS Linux

I'm following the tutorial in https://github.com/kubernetes/kops/blob/master/docs/aws.md with a bootstrap EC2 instance with Amazon Linux installed. 我正在https://github.com/kubernetes/kops/blob/master/docs/aws.md中跟随安装了Amazon Linux的引导EC2实例的教程。

And everything seems to be working fine until I need to start configuring the cluster. 在我需要开始配置集群之前,一切似乎都工作正常。

This error when running the kops command to create a configuration for the cluster. 运行kops命令为集群创建配置时出现此错误。 I couldn`t find any post on how to solve this issue. 我找不到有关如何解决此问题的任何文章。

Any help? 有什么帮助吗?

[ec2-user@ip-172-31-19-231 ~]$ kops create cluster --zones us-west-2a,us-west-2b,us-west-2c,us-west-2d ${NAME}

I0224 22:43:29.639232    3292 create_cluster.go:496] Inferred --cloud=aws from zone "us-west-2a"

I0224 22:43:29.699503    3292 subnets.go:184] Assigned CIDR 172.20.32.0/19 to subnet us-west-2a

I0224 22:43:29.699582    3292 subnets.go:184] Assigned CIDR 172.20.64.0/19 to subnet us-west-2b

I0224 22:43:29.699632    3292 subnets.go:184] Assigned CIDR 172.20.96.0/19 to subnet us-west-2c

I0224 22:43:29.699677    3292 subnets.go:184] Assigned CIDR 172.20.128.0/19 to subnet us-west-2d



error assigning default machine type for nodes: error finding default machine type: could not find a suitable supported instance type for the instance group "nodes" (type "Node") in region "us-west-2"

The error is stating you haven't specified an instance type for the EC2 nodes that will act as master and worker nodes. 该错误表明您尚未为充当主节点和工作节点的EC2节点指定实例类型。

The following is an example command: 以下是示例命令:

  kops create cluster --name=my-cluster.k8s.local \
  --state=s3://kops-state-1234 --zones=eu-west-1a \
  --node-count=2 --node-size=t2.micro --master-size=t2.micro 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM