尝试在EKS 1.14上尝试“共享控制平面(多网络)”时,找不到服务“ istio-pilot”

时间:2020-03-13 15:27:00

标签: istio eks

背景:2个AWS EKS Kubernetes堆栈,版本1.14,平台版本eks.9

我正在跟踪this guide来设置“共享控制平面(多网络)”,在执行“设置群集2”时遇到了这些错误。

有什么提示吗?谢谢!

  $ istioctl manifest apply --context=$CTX_CLUSTER2 \
  --set profile=remote \
  --set values.gateways.enabled=true \
  --set values.security.selfSigned=false \
  --set values.global.createRemoteSvcEndpoints=true \
  --set values.global.remotePilotCreateSvcEndpoint=true \
  --set values.global.remotePilotAddress=${LOCAL_GW_ADDR} \
  --set values.global.remotePolicyAddress=${LOCAL_GW_ADDR} \
  --set values.global.remoteTelemetryAddress=${LOCAL_GW_ADDR} \
  --set values.gateways.istio-ingressgateway.env.ISTIO_META_NETWORK="network2" \
  --set values.global.network="network2" \
  --set values.global.multiCluster.clusterName=${CLUSTER_NAME}

- Applying manifest for component Base...
2020-03-13T14:11:19.644688Z error   installer   error running kubectl: exit status 1
✘ Finished applying manifest for component Base.
- Applying manifest for component Pilot...
✔ Finished applying manifest for component Pilot.
2020-03-13T14:11:29.235035Z error   installer   Failed to wait for resource: resources not ready after 10m0s: services "istio-pilot" not found

- Applying manifest for component IngressGateways...
✔ Finished applying manifest for component IngressGateways.

Component Base - manifest apply returned the following errors:
Error: error running kubectl: exit status 1



✘ Errors were logged during apply operation. Please check component installation logs above.

Error: failed to apply manifests: errors were logged during apply operation

P.S。我创建2个EKS集群的方式,即cluster1和cluster2

$ eksctl create cluster \
–name cluster1 \
–region us-east-1 \
–nodegroup-name standard-workers \
–node-type t3.medium \
–nodes 2 \
–nodes-min 1 \
–nodes-max 3 \
–ssh-access \
–ssh-public-key eks \
–managed

1 个答案:

答案 0 :(得分:0)

这可能是由istio 1.5.0中引入的更改引起的。

根据istio文档:

多集群设置

如果您使用的是多集群设置,建议您不要升级到Istio 1.5.0。

Istio 1.5.0多群集设置存在几个已知问题(2710221676),这使得它在共享控制平面和复制控制平面部署中均无法使用。这些问题将在Istio 1.5.1中解决。