pyroscope icon indicating copy to clipboard operation
pyroscope copied to clipboard

Healthcheck keeps failing

Open mukherjeer-mms opened this issue 1 year ago • 1 comments

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.

mukherjeer-mms avatar Feb 14 '24 16:02 mukherjeer-mms

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.

simonswine avatar Feb 16 '24 08:02 simonswine