HI everyone i'm trying to configure the pod of my ...
# ask-community
n
HI everyone i'm trying to configure the pod of my agent to restart in case of failure using this in my YAML
Copy code
livenessProbe:
          failureThreshold: 2
          httpGet:
            path: /healthz
            port: 8080
          initialDelaySeconds: 360
          periodSeconds: 300
but I am facing this error
Liveness probe failed: Get "<http://10.112.2.178:8080/healthz>": dial tcp 10.112.2.178:8080: connect: connection refused
. Any idea please ?