Open nlamirault opened 4 months ago
@nlamirault I run netshoot pod in the same namespace and I'm able to access metrics:
curl http://external-dns-nonprod-external-dns:7979/metrics
# HELP external_dns_controller_last_reconcile_timestamp_seconds Timestamp of last attempted sync with the DNS provider
# TYPE external_dns_controller_last_reconcile_timestamp_seconds gauge
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
What happened:
Hi, I deploy External-DNS using the official helm charts. It uses the Cloudflare provider. All seems working (DNS record, controller, .... ) except retrieving metrics using the ServiceMonitor. I've got this error:
If I try to retrieve metrics using port-forward on the Service, it works. Port-forward on the pod, it works. But if I try to retrieve metrics from other pods inside the cluster it doesn't work. wget 10.0.4.199:7979/metrics failed. It is due to the bind address localhost in the pod and not 0.0.0.0 ... but I don't find any argument for that.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
external-dns --version
):