Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Save the file and create the component. The release: prometheus label that we have introduced serves so that the Prometheus operator can "see" the serviceMonitorservice monitor. How do I find out which label is used by Prometheus? Try running a describe and look for the ServiceMonitorSelector Service Monitor Selector parameter. The serviceMonitorservice monitor, in turn, points to the components it wants to analyze thanks to the parameters namespaceSelector and selector.

...