pyroscope
pyroscope copied to clipboard
Healthcheck keeps failing
I keep getting Readiness probe failed: Get "http://10.2.9.133:4040/ready": dial tcp 10.2.9.133:4040: connect: connection refused error in gke cluster. Following is the healthcheck settings I have:
readinessProbe:
httpGet:
path: /ready
port: 4040
livenessProbe:
httpGet:
path: /ready
port: 4040
initialDelaySeconds: 180
timeoutSeconds: 30
failureThreshold: 10
Am I using incorrect path? can someone please guide? many thanks in advance.
It looks correct, I would double check logs and eventually trying the endpoint with curl, if that makes any difference.
Generally connection refused is nothing is listening or something actively blocking access.