【发布时间】:2019-06-28 13:39:03
【问题描述】:
我正在尝试在 aws 和
验证时一直失败。使用以下命令更新集群kops update cluster cluster.foo.com --yes 并发布运行
这个kops validate cluster
Using cluster from kubectl context: cluster.foo.com
Validating cluster cluster.api.com
INSTANCE GROUPS
NAME ROLE MACHINETYPE MIN MAX SUBNETS
master-eu-west-2a Master t2.medium 1 1 eu-west-2a
nodes Node t2.medium 2 2 eu-west-2a
NODE STATUS
NAME ROLE READY
VALIDATION ERRORS
KIND NAME MESSAGE
dns apiserver Validation Failed
The dns-controller Kubernetes deployment has not updated the Kubernetes cluster's API DNS entry to the correct IP address. The API DNS IP address is the placeholder address that kops creates: 203.0.113.123. Please wait about 5-10 minutes for a master to start, dns-controller to launch, and DNS to propagate. The protokube container and dns-controller deployment logs may contain more diagnostic information. Etcd and the API DNS entries must be updated for a kops Kubernetes cluster to start.
Validation Failed
请帮助找出根本原因。
1。我尝试多次删除和重新创建,但这对我没有帮助。
2。还尝试手动将主公共和私有 IP 放置到路由 53,但它破坏了一切。
【问题讨论】:
-
能否提供来自 kubernetes 集群的日志?
-
您能否分享您为创建 kops 集群和 kops 配置所采取的步骤(不含敏感信息)?如果您遵循了一些指南/手册,请提供链接。
标签: kubernetes kubectl kops