问题详情
今天在 kubernetes 集群上部署应用时出现 dapr sidecar 容器因为健康检查失败而无法启动的问题
Container daprd failed liveness probe, will be restarted
Liveness probe failed: Get "http://192.168.15.143:3501/v1.0/healthz": dial tcp 192.168.15.143:3501: connect: connection refused
Readiness probe failed: Get "http://192.168.15.143:3501/v1.0/healthz": dial tcp 192.168.15.143:3501: connect: connection refused
回答
问题补充:
通过查看 dapr-sentry 的日志发现,原来是 dapr 的根证书过期了
kubectl logs deploy dapr-sentry -n dapr-system
日志内容
level=warning msg="Dapr root certificate expiration warning: certificate has expired."
版权:言论仅代表个人观点,不代表官方立场。转载请注明出处:https://www.stntk.com/question/2726.html
还没有评论呢,快来抢沙发~