zealzhangzK零S
现象如下:
Request URL: http://xxxx.10.1.1.122.nip.io:31729/test/save
Request Method: POST
Status Code: 504 Gateway Timeout
Remote Address: 10.1.1.122:31729
Referrer Policy: strict-origin-when-cross-origin
content-length: 24
content-type: text/plain
date: Mon, 22 Feb 2021 08:59:30 GMT
server: istio-envoy
x-envoy-decorator-operation: kubesphere-router-test.kubesphere-controls-system.svc.cluster.local:80/*
x-envoy-upstream-service-time: 15003
一开始以为是ingress超设置有问题,ingress添加如下超时注解后问题依旧:
nginx.ingress.kubernetes.io/proxy-connect-timeout: '300'
nginx.ingress.kubernetes.io/proxy-read-timeout: '300'
nginx.ingress.kubernetes.io/proxy-send-timeout: '300'
google了一下,发现有个类似的问题istio-envoy-504-gateway-timeouts-after-15-seconds-for-outbound-connections,但不知道怎么设置,基本排除是应用层的超时
未开启应用治理如下图:
感觉应该是k8s这一层的超时,各位大佬有木有遇到类似的问题