Skip to content

Commit

Permalink
Add more clarification on lines 332-335
Browse files Browse the repository at this point in the history
  • Loading branch information
avillela committed Jun 19, 2024
1 parent 1eaf1d1 commit fc6631c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,10 @@ spec:
app: my-app
```

It means that your `ServiceMonitor` resource must in turn have that same value
in `metadata.labels`:
By setting the value of
`spec.targetAllocator.prometheusCR.serviceMonitorSelector` to `app: my-app`, it
means that your `ServiceMonitor` resource must in turn have that same value in
`metadata.labels`:

```yaml
apiVersion: monitoring.coreos.com/v1
Expand Down

0 comments on commit fc6631c

Please sign in to comment.