mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
foto.scoutingmbg.nl goes straight to immich since the switch to Scouts Online, so the Apache with mod_auth_openid (OpenID 2) in front of it has no traffic left.
26 lines
771 B
YAML
26 lines
771 B
YAML
# Retry a request when the backend drops a kept-alive connection just as
|
|
# Envoy sends a request over it. Envoy answers that with a 503 (flag UC) and
|
|
# does not retry by default; ingress-nginx did. It broke immich's page loads
|
|
# behind the Apache of sol-auth (since removed), which recycled its
|
|
# processes after 30 connections, and shows up less often elsewhere.
|
|
apiVersion: gateway.envoyproxy.io/v1alpha1
|
|
kind: BackendTrafficPolicy
|
|
metadata:
|
|
name: retry-on-reset
|
|
namespace: envoy-gateway-system
|
|
spec:
|
|
targetRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: homelab
|
|
retry:
|
|
numRetries: 2
|
|
retryOn:
|
|
triggers:
|
|
- connect-failure
|
|
- reset
|
|
perRetry:
|
|
backOff:
|
|
baseInterval: 25ms
|
|
maxInterval: 250ms
|