Why is no Service created for the metrics port? #1593
-
In the helm chart there's a metrics port but no Service gets created for it, why is that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @UntouchedWagons, a bit delayed answer, but I think the answer is that it was not needed when that part was written. If prometheus monitoring is enabled via the helm chart we monitor pods directly (with the @UntouchedWagons would you have need for a service? |
Beta Was this translation helpful? Give feedback.
-
No no that's okay I was just kinda confused. My understanding was that if pod A wants to interact with pod B somehow it has to be through a Service object. It looks like I was mistaken. |
Beta Was this translation helpful? Give feedback.
Hi @UntouchedWagons, a bit delayed answer, but I think the answer is that it was not needed when that part was written. If prometheus monitoring is enabled via the helm chart we monitor pods directly (with the
PodMonitor
objects) and no services are needed. Maybe @ArangoGutierrez can comment, too, as the original author of the metrics support for NFD.@UntouchedWagons would you have need for a service?