zone "invalid-backend-ref" is too small #1794
Labels
bug
Something isn't working
community
refined
Requirements are refined and the issue is ready to be implemented.
size/extra-small
Estimated to be completed within a day
Milestone
Describe the bug
the invalid-backend-ref size of 32k is too small for some environments causing an inability of the gateway to program.
To Reproduce
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --disable=traefik" K3S_NODE_NAME="${MASTER_NODE_NAME}" sh -s - --flannel-backend=wireguard-native --token ${TOKEN} --write-kubeconfig-mode 600
)kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml
helm install nginx-gateway oci://ghcr.io/nginxinc/charts/nginx-gateway-fabric --create-namespace -n nginx-gateway
(also tried with manifests directly) with no modificationsExpected behavior
Either the smallest possible zone size is determined and implemented at runtime, or something like 128k - 512k is used instead here:
nginx-gateway-fabric/internal/mode/static/nginx/config/upstreams.go
Line 25 in 03e24fe
Your environment
kubectl -n nginx-gateway logs -l app=nginx-gateway -c nginx
kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx -T
Additional context
using a shell session, vi, and
nginx -T
, I was able to determine that the smallest zone size it would accept was 128kcurrent workaround is to set
nginxGateway.image.tag
to 1.1.0The text was updated successfully, but these errors were encountered: