首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用kops指定专区ID?

如何使用kops指定专区ID?
EN

Stack Overflow用户
提问于 2019-07-08 05:53:21
回答 1查看 945关注 0票数 0

在……上面

代码语言:javascript
复制
 kops edit ig nodes 

我得到了

代码语言:javascript
复制
error determining default DNS zone: Found multiple hosted zones matching cluster ".domain"; please specify the ID of the zone to use

集群如下所示

代码语言:javascript
复制
$ kops get ig
Using cluster from kubectl context: dev3.onchain.live

NAME                    ROLE    MACHINETYPE     MIN     MAX     ZONES
master-us-east-1b       Master  m4.large        1       1       us-east-1b
nodes                   Node    m4.large        3       3       us-east-1b

添加

代码语言:javascript
复制
 --state=$KOPS_STATE_STORE

无济于事。

EN

回答 1

Stack Overflow用户

发布于 2019-07-08 07:47:48

它位于ClusterSpec YAML文件中:

代码语言:javascript
复制
// DNSZone is the DNS zone we should use when configuring DNS
// This is because some clouds let us define a managed zone foo.bar, and then have
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
// DNSZone will probably be a suffix of the MasterPublicName and MasterInternalName
// Note that DNSZone can either by the host name of the zone (containing dots),
// or can be an identifier for the zone.
DNSZone string `json:"dnsZone,omitempty"`

尽管在Route53中拥有多个通常是一个配置问题。或者至少有多个匹配区域是不正常的。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56926385

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档