From fc6631c927e0ebe410fcffdfc49227a6cb8893dd Mon Sep 17 00:00:00 2001 From: Adriana Villela Date: Wed, 19 Jun 2024 13:17:43 -0400 Subject: [PATCH] Add more clarification on lines 332-335 --- .../kubernetes/operator/troubleshooting/target-allocator.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/en/docs/kubernetes/operator/troubleshooting/target-allocator.md b/content/en/docs/kubernetes/operator/troubleshooting/target-allocator.md index 9774b79a214a..5b65a609e6cb 100644 --- a/content/en/docs/kubernetes/operator/troubleshooting/target-allocator.md +++ b/content/en/docs/kubernetes/operator/troubleshooting/target-allocator.md @@ -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