Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes 如何使用kops指定区域ID?_Kubernetes_Kops - Fatal编程技术网

Kubernetes 如何使用kops指定区域ID?

Kubernetes 如何使用kops指定区域ID?,kubernetes,kops,Kubernetes,Kops,在 我越来越 kops edit ig nodes 集群看起来像这样 error determining default DNS zone: Found multiple hosted zones matching cluster ".domain"; please specify the ID of the zone to use 添加 $ kops get ig Using cluster from kubectl context: dev3.onchain.live NAME

我越来越

 kops edit ig nodes 
集群看起来像这样

error determining default DNS zone: Found multiple hosted zones matching cluster ".domain"; please specify the ID of the zone to use
添加

$ 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

没有帮助

它位于ClusterSpec YAML文件中:

 --state=$KOPS_STATE_STORE
尽管在路由53中,拥有多个路由通常是一个配置问题。或者至少有多个匹配区域是不正常的

// 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"`