You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/how-to/monitoring/troubleshooting.md
+19
Original file line number
Diff line number
Diff line change
@@ -436,6 +436,25 @@ To **resolve** this, you can do one of the following:
436
436
437
437
- Adjust the IPFamily of your Service to match that of the NginxProxy configuration.
438
438
439
+
##### Policy cannot be applied to target
440
+
441
+
If you `describe` your Policy and see the following error:
442
+
443
+
```text
444
+
Conditions:
445
+
Last Transition Time: 2024-08-20T14:48:53Z
446
+
Message: Policy cannot be applied to target "default/route1" since another Route "default/route2" shares a hostname:port/path combination with this target
447
+
Observed Generation: 3
448
+
Reason: TargetConflict
449
+
Status: False
450
+
Type: Accepted
451
+
```
452
+
453
+
This means you are attempting to attach a Policy to a Route that has an overlapping hostname:port/path combination with another Route. To work around this, you can do one of the following:
454
+
455
+
- Combine the Route rules for the overlapping path into a single Route.
456
+
- If the Policy allows it, specify both Routes in the `targetRefs` list.
457
+
439
458
### Further reading
440
459
441
460
You can view the [Kubernetes Troubleshooting Guide](https://kubernetes.io/docs/tasks/debug/debug-application/) for more debugging guidance.
0 commit comments