如何解决istio proxy上的“过时”问题?

时间:2018-08-23 03:33:38

标签: istio

我已经在Ingress网关公开的服务周围应用了istio Policy和DestionationRule(基本上是istio配置)的一些更新。而且以某种方式不能反映我的配置策略。

查看了istioctl proxy-status命令后,我发现许多istio的代理服务器已被淘汰。

PROXY                                                             CDS        LDS        EDS               RDS          PILOT                            VERSION
data-devops-istio-ingressgateway-66bddd766d-75gjz.data-devops     SYNCED     SYNCED     SYNCED (100%)     STALE        istio-pilot-6cd95f9cc4-8pcw4     1.0.0
data-devops-istio-ingressgateway-66bddd766d-fjkcr.data-devops     SYNCED     SYNCED     SYNCED (100%)     STALE        istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-egressgateway-868bb74854-lzhqt.istio-system                 SYNCED     SYNCED     SYNCED (100%)     NOT SENT     istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-egressgateway-868bb74854-p25p2.istio-system                 SYNCED     SYNCED     SYNCED (100%)     NOT SENT     istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-ingressgateway-f86f68645-887dd.istio-system                 SYNCED     STALE      SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-ingressgateway-f86f68645-bnrvt.istio-system                 SYNCED     STALE      SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-ingressgateway-f86f68645-g6s9g.istio-system                 SYNCED     STALE      SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-ingressgateway-f86f68645-gf4nq.istio-system                 SYNCED     STALE      SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0
istio-ingressgateway-f86f68645-xzfth.istio-system                 SYNCED     STALE      SYNCED (100%)     STALE        istio-pilot-6cd95f9cc4-8pcw4     1.0.0
java-maven-app-canary-5b9f57b475-r9lfc.data-devops                SYNCED     SYNCED     SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0
java-maven-app-stable-56b9c47c9-nhmhd.data-devops                 SYNCED     SYNCED     SYNCED (100%)     SYNCED       istio-pilot-6cd95f9cc4-8pcw4     1.0.0

是否有解决陈旧问题的解决方案?另外,CDSLDSEDSRDS是什么意思?

1 个答案:

答案 0 :(得分:0)

  • CDS-群集发现服务
  • LDS-侦听器发现服务
  • EDS-端点发现服务
  • RDS-路线发现服务

Envoy doc中对它们都有很好的解释。

回到您的问题,我将同时查看Pilot和Istio Proxy日志以了解发生了什么。如果您还没有看到任何改进的话,那么增加Pilot副本的数量也是值得的。我有2个或3个Pilot Pod正在运行,具体取决于CPU利用率。希望这会有所帮助。