Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COS integration passes the wrong target IP #85

Open
barryprice opened this issue Jan 13, 2025 · 0 comments
Open

COS integration passes the wrong target IP #85

barryprice opened this issue Jan 13, 2025 · 0 comments

Comments

@barryprice
Copy link

Bug Description

Hi,

We've got this deployed and related/integrated with COS, but are seeing an error due to COS's inability to scrape the defined Prometheus target.

On closer investigation, the source of the error is an inability to scrape the actual pod IP, rather than the service/ingress IP.

The configured target is http://192.168.102.222:9102/metrics

I would expect the charm to pass through the ingress IP (or possibly the service ClusterIP?) as the defined target instead - these are in the 10.0.0.0/8 range rather than 192.168.0.0/16.

To Reproduce

  1. Deploy and expose httprequest-lego-provider via nginx-ingress-integrator.

  2. Integrate the service with COS.

  3. Failure to scrape metrics target.

Environment

Deployed on a shared Kubernetes cluster on Openstack.

Relevant log output

Nothing obviously relevant on this side, but feel free to request specific logs.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant