Gateway returns not meaningful response when pod is running but container not ready #781
Labels
area/gateway
kind/bug
Something isn't working
kind/documentation
Improvements or additions to documentation
Milestone
🐛 Describe the bug
We made few changes in recent weeks to make sure response is explainable. I still see some case not expected today.
checking the status
checking gateway logs
The root problem is we only consider Pod Status but didn't consider container ready or not. If that case, server is ready to serving request but router routes the request to pod and result in failure.
We should fix this issue and add a detailed page on the state machine and result code user may receive.
Steps to Reproduce
Make sure the pod is ready but use probe to control readiness of container
Expected behavior
In such case, router should not forward request to pod.
Environment
0.2.0
The text was updated successfully, but these errors were encountered: