Skip to content

Commit 54fba41

Browse files
authored
Merge pull request #4590 from guettli/link-to-watch-not-owned-example-code
📖 Add link to Watching Secondary Resources Owned by the Controller
2 parents 996b9e6 + 5dcad5e commit 54fba41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/book/src/reference/watching-resources.md

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ Here are the key reasons why it's important to watch them:
130130
- Watching non-owned secondary resources lets the controller respond to lifecycle events (create, update, delete)
131131
that might affect the primary resource, ensuring consistent behavior across the system.
132132

133+
See [Watching Secondary Resources That Are Not Owned](./watching-resources/secondary-resources-not-owned.md#configuration-example) for an example.
134+
133135
## Why not use `RequeueAfter X` for all scenarios instead of watching resources?
134136

135137
Kubernetes controllers are fundamentally **event-driven**. When creating a controller,

0 commit comments

Comments
 (0)