Kubernetes pod with readiness probe on Azure AKS check returns 404 http status

1/23/2020

I have a Pod which listens to port 8000. When i add readiness probe and redeploy, the check fails with the message "readiness failed with http status 404"

I have the the values for readiness check set as below

timeoutSecond: 30sec
periodSeconds: 180

The check returns 404 when i describe my pod far before my ingress(Loadbalancer) starts listening. Or atleast i believe so since i see the LB IP in (kubectl get svc) comes after several minutes.

-- Vaishnav
azure
azure-aks
azure-kubernetes
readinessprobe

0 Answers