Closed eXpire163 closed 2 years ago
Do you know if liveness probes work on localhost
bindings too?
Can you change to --h 0.0.0.0
to see if that solves the issue?
update: I quickly double checked that, it looks like liveness probes are done via routable IPs inside the cluster as such I think binding the exporter to localhost won't work.
Describe the bug
When setting up Squid Exporter as a sidecar to squid on AWS Managed Kubernetes (EKS) the exported started up fine and was reachable via a service. Never the less the liveness probe on tcp or http always failed with:
Liveness probe failed: dial tcp x.x.x.2:9301: connect: connection refused
To Reproduce
Terraform deployment:
Expected behavior Liveness probe should work
OS (please complete the following information):
Solution
Notes
Without specifying the exporter port the log said : listening on "10.11.12.13:9301" (node ip changed for this post) With specifying the exporter port the log said : listening on ":3129"