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