I am wondering what command I should use to grab the http response for the pod failure readiness check.
This is how I debug and being blocked by only get http status but not knowing the exact error response.
kubectl get pods/app
app 1/1 Running 3 18h
It seems there are lots of restart happening on the pod and then I guess I need to use describe to see what triggers the restart.
kubectl describe pod app
Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503
There are several reasons can lead to 503. I would like to get http response for that and I cant find any argument to include that.
Here is the readiness probe definition:
readinessProbe:
httpGet:
path: /diagnostic/ready
port: liveness-port
initialDelaySeconds: 10
timeoutSeconds: 3
failureThreshold: 80
periodSeconds: 3
Thanks in advance