Skip to content

CRD and controller scope misunderstanding #3155

Closed Answered by camilamacedo86
dyens asked this question in Support
Discussion options

You must be logged in to vote

The Operator can be cluster or namespace scoped as the CRD
That means available for all cluster or just in the namespace
For further information check the doc:

If your operator is cluster scoped then it will be watching the whole cluster
You can filter the cache with https://github.com/kubernetes-sigs/controller-runtime/blob/main/designs/use-selectors-at-cache.md

However, if you are watching a lot in a big cluster with a lot of things you will probably have performance issues.

I hope that answer your question

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants