You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Cloud provider or hardware configuration: Azure AKS
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:
What happened:
Created a POC k8s project that has a /ready endpoint for k8s readiness probe,
deliberately set the /ready having a long waiting response so that Pods are marked it as not ready
execute kubectl get pods and can see that it is not ready
NAME READY STATUS RESTARTS AGE
test-aks-healthcheck-7ffd7dffd-tqfzw 0/1 Running 1 2h
execute kubectl get ep and sees that:
NAME ENDPOINTS AGE
test-aks-healthcheck 3h
Check in ingress controller log
I0221 03:09:30.604376 6 controller.go:460] Replacing location "/" for server "test.aks.ohmdevtest.buddy.io" with upstream "upstream-default-backend" to use upstream "default-test-aks-healthcheck-http" (Ingress "default/test-aks-healthcheck")
I0221 03:09:30.604394 6 controller.go:588] Upstream "default-test-aks-healthcheck-http" has no active Endpoint
but when I try to access the POC project endpoint , it is still available ( it is expected that it would return a HTTP 503.
(logs in nginx show
Closing. This issue is fixed in master #3628
You can test the fix using the dev image quay.io/kubernetes-ingress-controller/nginx-ingress-controller:dev
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
NGINX Ingress controller version:
0.22.0
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
/ready
endpoint for k8s readiness probe,/ready
having a long waiting response so that Pods are marked it as not readykubectl get pods
and can see that it is not readykubectl get ep
and sees that:(logs in nginx show
then it works, properly receive a 503 Service temporary unavailable.
(nginx log:
What you expected to happen:
503 return when trying to access a service on pod marked as unready
How to reproduce it (as minimally and precisely as possible):
values.yaml
Anything else we need to know:
The text was updated successfully, but these errors were encountered: