bug/blocker: apisix-Ingress-controller: Upstream/Route state not refreshed after pod restart → 502s (adc v0.21.1, AIC 2.0.0-rc4) - helm-chart 2.11.6 #12645
Replies: 1 comment 4 replies
-
|
This is a known issue in the APISIX ecosystem: after a pod restart, upstream nodes and routes sometimes aren't refreshed, causing 502 errors and missing routes in the admin API. Multiple recent threads confirm that APISIX may continue routing to old pod IPs until a manual resync or controller restart, and new routes may not appear immediately in the admin API (#12294, #12283, #12436). Restarting the There is no documentation or merged PR confirming that the fix from adc#344 is included in adc v0.21.1, and no upgrade guides for Helm chart 2.11.6 affecting route/upstream reconciliation were found. The ARM64 ADC build should behave like the official release if built from the provided assets. For now, the most reliable workaround is to manually restart the ingress-controller pod after pod restarts or route changes to force a resync. If you see "Key not found" in the admin API, ensure etcd keys are initialized (run To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team, can anyone help with this bug? It’s blocking the upgrade of APISIX Helm chart from 2.10.1 to 2.11.6, as well as the application upgrade from 3.11 (no longer supported) to 3.13
Current Behavior
Current Behavior
Summary
After a workload pod restarts and receives a new IP, APISIX continues routing to the old endpoint. In addition, route-level custom plugins (auth/credentials) are not refreshed. This leads to 502 Bad Gateway responses until a manual resync.
Also, when a new route is created via CDR, it does not appear in the admin route list (returns 404), even though the route creation itself succeeds. Deleting and recreating the route does not resolve the issue.
Environment
APISIX then attempts to route to a non-existent pod → 502 Bad Gateway.
Expected
Actual
https://127.0.0.1:9180/apisix/admin/routes) → 404 Not Found.Notes
adc:0.21.1image for arm64 (binary pulled from the linked release asset).Versions
uname -a)Related Links
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
Steps to Reproduce
502 Bad Gateway.
404 Not Found
`status:
conditions:
observedGeneration: 1
reason: ResourcesSynced
status: "True"
type: ResourcesAvailable`
Environment
apisix-ingress-controller version --long)kubectl version)uname -a)Beta Was this translation helpful? Give feedback.
All reactions