Liveness probe check #4619
Unanswered
priyakr-git
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I found that I had to use port 8000 $ curl -i http://10.244.1.27:8000/healthz OK So I am confused about the port 8001, Do I need certs for 8001 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Contour exposes two health endpoints /health and /healthz. On my setup, I have the following:
pod information:
contour-57c5c6647d-jm8x6 1/1 Running 0 9m51s 10.244.1.15 10.1.53.39
contour-57c5c6647d-ttdk2 1/1 Running 0 9m51s 10.244.1.16 10.1.53.39
contour-certgen-v1.20.1-ljsvm 0/1 Completed 0 10m 10.244.1.14 10.1.53.39
envoy-bcvtg 2/2 Running 0 9m49s 10.244.1.17 10.1.53.39
service information:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
contour ClusterIP 10.96.66.23 8001/TCP 14m
envoy LoadBalancer 10.96.226.89 80:31097/TCP,443:32464/TCP 14m
From within the cluster, say from a worker node, when I curl http://10.244.1.15:8001/health, I get an empty response.
$ curl -i 10.244.1.15:8001/health -k -I -v
curl: (52) Empty reply from server
Is there a way to get a HTTP Response 200, Do I need to use secure port?
Can I look for something specific in the contour or envoy log?
Beta Was this translation helpful? Give feedback.
All reactions