Endpoints are not updated correctly by NGF for NGINX Plus #2090
Labels
bug
Something isn't working
refined
Requirements are refined and the issue is ready to be implemented.
size/medium
Estimated to be completed within a week
Milestone
Describe the bug
When using NGINX Plus with NGINX Gateway Fabric, the upstreams are applied correctly when HTTPRoute is applied via the API, but when the deployment is scaled, upstreams are removed incorrectly.
To Reproduce
Steps to reproduce the behavior:
cafe.yaml
toCheck the NGINX Plus Dashboard at the forwarded port. You should see upstreams for both
tea
andcoffee
.Check the dashboard again, you will see only upstream for
coffee
and nottea
.When sending a curl request to
tea
, it return 502 which is expected behaviorCheck nginx logs
You should see error about no upstream available
Expected behavior
The expected behavior is that upstreams are added correctly when HTTPRoute is added from API as well as when it is scaled. The curl request to tea should return bad gateway, but no errors should be reported in nginx error logs.
Your environment
kubectl -n nginx-gateway logs -l app=nginx-gateway -c nginx
kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx [-T
](ngf.txt)Additional context
Add any other context about the problem here. Any log files you want to share.
Acceptance
The text was updated successfully, but these errors were encountered: