简体   繁体   English

Istio sidecar 让 pod 重新启动

[英]Istio sidecar have pods restarting

I've installed on my Openshift cluster the 'Red Hat Openshift Service Mesh' operator, which includes Istio.我在我的 Openshift 集群上安装了“Red Hat Openshift Service Mesh”算子,其中包括 Istio。 Now, after adding to my Helm chart the annotation below, a few pods are restarting 2/3 times before properly running.现在,在我的 Helm 图表中添加下面的注释后,一些 pod 在正常运行之前重新启动了 2/3 次。

sidecar.istio.io/inject: 'true'  

Without the annotation, no pods restart take place.如果没有注释,则不会重新启动 pod。 In the pod events I see the following errors:在 pod 事件中,我看到以下错误:

Startup probe failed: HTTP probe failed with statuscode: 503
Readiness probe failed: Get "http://10.253.20.228:15021/healthz/ready": dial tcp 10.253.20.228:15021: connect: connection refused
Startup probe failed: Get "http://10.253.20.228:8080/actuator/health/liveness": dial tcp 10.253.20.228:8080: connect: connection refused

So far I've tried to increase all the possible values of startup/liveness/readiness probes, adding initalDelaySeconds and even the following annotations with no luck:到目前为止,我已经尝试增加所有可能的启动/活跃/就绪探针值,添加 initalDelaySeconds 甚至以下注释,但没有运气:

status.sidecar.istio.io/port : "0"
sidecar.istio.io/rewriteAppHTTPProbers: "false"
sidecarInjectorWebhook.rewriteAppHTTPProbe: "true"

I'm out of ideas, could anybody help?我没有想法,有人可以帮忙吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM