Closed ironslob closed 5 years ago
I found upstream annotations and thought I'd try these:
+ nginx.ingress.kubernetes.io/upstream-fail-timeout: "30"
+ nginx.ingress.kubernetes.io/upstream-max-fails: "5"
but no joy, same thing is happening.
54.172.193.230 - [54.172.193.230] - - [25/Jun/2018:15:44:09 +0000] "GET /sitemap/wales/dyfed/ceredigion-sir-ceredigion/llywernog/ HTTP/1.1" 200 2949 "-" "MauiBot (crawler.feedback+wc@gmail.com)" 324 1.872 [apps-twigdoo-web] 172.20.127.53:5000 9112 1.868 200 45f49e1b9bef9e5540bcdaf1df577264
I0625 15:44:22.533945 6 controller.go:169] Configuration changes detected, backend reload required.
I0625 15:44:22.548688 6 util.go:68] rlimit.max=1048576
I0625 15:44:22.548768 6 nginx.go:522] Maximum number of open file descriptors: 523264
I0625 15:44:22.688089 6 nginx.go:629] NGINX configuration diff:
--- /etc/nginx/nginx.conf 2018-06-25 15:43:35.579306845 +0000
+++ /tmp/new-nginx-cfg201428551 2018-06-25 15:44:22.683427020 +0000
@@ -211,9 +211,8 @@
keepalive 32;
- server 172.20.84.227:5000 max_fails=5 fail_timeout=30;
- server 172.20.116.105:5000 max_fails=5 fail_timeout=30;
server 172.20.127.53:5000 max_fails=5 fail_timeout=30;
+ server 172.20.84.227:5000 max_fails=5 fail_timeout=30;
}
I0625 15:44:22.742475 6 controller.go:179] Backend successfully reloaded.
I0625 15:44:31.582142 6 controller.go:169] Configuration changes detected, backend reload required.
I0625 15:44:31.582167 6 util.go:68] rlimit.max=1048576
I0625 15:44:31.582173 6 nginx.go:522] Maximum number of open file descriptors: 523264
I0625 15:44:31.639561 6 nginx.go:629] NGINX configuration diff:
--- /etc/nginx/nginx.conf 2018-06-25 15:44:22.683427020 +0000
+++ /tmp/new-nginx-cfg243681809 2018-06-25 15:44:31.635449683 +0000
@@ -211,6 +211,7 @@
keepalive 32;
+ server 172.20.116.105:5000 max_fails=5 fail_timeout=30;
server 172.20.127.53:5000 max_fails=5 fail_timeout=30;
server 172.20.84.227:5000 max_fails=5 fail_timeout=30;
I0625 15:44:31.678958 6 controller.go:179] Backend successfully reloaded.
54.172.193.230 - [54.172.193.230] - - [25/Jun/2018:15:44:39 +0000] "GET /sitemap/wales/dyfed/ceredigion-sir-ceredigion/maen-y-groes/ HTTP/1.1" 200 2953 "-" "MauiBot (crawler.feedback+wc@gmail.com)" 327 0.005 [apps-twigdoo-web] 172.20.127.53:5000 9123 0.004 200 daf90a3fae7caca6efaffbbaf6ed0755
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
I've run the ingress with --v=2 to see what's happening and get the following, which always seems to be the same:
Any help on resolving this would be great, as I'm seeing regular 502 responses.