Skip to content

Kubernetes cannot scrape the operator pod (tries port 80, but the operator uses port 8080)? #734

Answered by mereta
kastl-ars asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kastl-ars!

Thanks for opening this discussion!
We've created an issue and recently pushed a fix.

The operator didn't have the correct configuration set up for Prometheus to scrape metrics.
We have added a ServiceMonitor called retina-operator-servicemonitor, which when enabled will scrape metrics from retina-operator.

To enable the monitor you should append a clause in your values.yaml file.

metrics:
   serviceMonitor:
      enabled: true

You can find more details in this PR #848

Thanks :)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mereta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants