执行后端滚动更新时出现HTTP 502错误

时间:2019-01-17 16:27:59

标签: traefik kubernetes-ingress traefik-ingress

我将traefik版本1.7.7用作kubernetes集群版本1.11.5中的入口控制器。

每次我对后端之一的部署进行滚动升级时,将Traefik设置为调试模式时,Traefik都会产生502错误(主要是一个错误),并显示以下错误。

{"level":"debug","msg":"'502 Bad Gateway' caused by: read tcp 172.21.51.209:56624-\u003e172.21.63.132:3000: read: connection reset by peer","time":"2019-01-17T14:32:37Z"}
{"level":"debug","msg":"vulcand/oxy/forward/http: Round trip: http://172.21.63.132:3000, code: 502, Length: 11, duration: 623.180762ms","time":"2019-01-17T14:32:37Z"}

我能做些什么来避免那些502吗?

0 个答案:

没有答案