[英]Istio sidecar have pods restarting
我在我的 Openshift 集群上安装了“Red Hat Openshift Service Mesh”算子,其中包括 Istio。 现在,在我的 Helm 图表中添加下面的注释后,一些 pod 在正常运行之前重新启动了 2/3 次。
sidecar.istio.io/inject: 'true'
如果没有注释,则不会重新启动 pod。 在 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
到目前为止,我已经尝试增加所有可能的启动/活跃/就绪探针值,添加 initalDelaySeconds 甚至以下注释,但没有运气:
status.sidecar.istio.io/port : "0"
sidecar.istio.io/rewriteAppHTTPProbers: "false"
sidecarInjectorWebhook.rewriteAppHTTPProbe: "true"
我没有想法,有人可以帮忙吗?
也许尝试:
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.