【问题标题】:istio new installation causing readinees probe failedistio 新安装导致 readinees 探测失败
【发布时间】:2019-05-20 08:06:28
【问题描述】:

我正在 Azure kubernetes 服务上安装 istio 版本 1.1.5。我已经按照这个 istio 站点 isito installation 中提到的安装过程进行操作

我已经安装了 istio-demo 安装包。安装成功后,很少有资源没有启动...

NAME                               READY     STATUS             RESTARTS   AGE
grafana-6b849f66c8-hfn24                  1/1       Running            0          10h
istio-citadel-6f958bff99-r4jdj            1/1       Running            0          10h
istio-galley-64867c7ddc-jggxx             1/1       Running            0          10h
istio-grafana-post-install-1.1.5-8mstl    0/1       Completed          0          10h
istio-ingressgateway-5f9765f889-gpvt2     0/1       Running            0          10h
istio-init-crd-10-8s7ng                   0/1       Completed          0          10h
istio-init-crd-11-jdgrd                   0/1       Completed          0          10h
istio-pilot-ff9d76fd8-5zz89               1/2       Running            0          10h
istio-policy-6d5fff9559-qdgqw             1/2       CrashLoopBackOff   225        10h
istio-sidecar-injector-847bcc5744-lgtzd   1/1       Running            0          10h
istio-telemetry-795546db77-sqr5j          1/2       CrashLoopBackOff   221        10h
istio-tracing-595796cf54-x78qr            1/1       Running            0          10h
kiali-5c584d45f6-q54kw                    1/1       Running            0          10h
prometheus-5fffdf8848-7ddkw               1/1       Running            0          10h

当我检查 istio-ingressgateway-5f9765f889-gpvt2 的 pod 描述时,我得到以下错误..

就绪探测失败:HTTP 探测失败,状态码:503

对于其他 pod istio-telemetry-795546db77-sqr5j 类似,我遇到了错误。

Liveness 探测失败:获取http://10.40.226.41:15014/version:拨号 tcp 10.40.226.41:15014:连接:连接被拒绝

我启用了rewriteAppHTTPProbe=true,但没有运气..

【问题讨论】:

  • hm,尝试删除 crd 并从头开始? 1.1.6 对我来说效果很好
  • 更新到 1.1.6 版本后遇到同样的问题
  • 你可以看看issue
  • 从头开始安装。演示安装工作正常
  • 它不适用于 azure kubernetes 服务

标签: kubernetes-ingress istio azure-aks readinessprobe


【解决方案1】:

同样的问题已经讨论过here

Istio 在启动时使 API 服务器不堪重负。

要修复它,您需要在 policy_container 和 telemetry_container 部分中将 --useAdapterCRDs=false 添加到混合器容器的参数中。

【讨论】:

    猜你喜欢
    • 2021-09-25
    • 2019-09-24
    • 2019-04-13
    • 2021-12-17
    • 1970-01-01
    • 2021-11-30
    • 2013-05-22
    • 1970-01-01
    相关资源
    最近更新 更多