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
{{ message }}
Repository navigation
Add support for watching multiple individual namespaces #3
In order to support better scaling and isolation of cert-manager, a user should be able to specify a single namespace, or list of namespaces to watch. This does not necessarily have to be the same namespace as cert-manager is running in, just sufficient roles defined such that they can access the appropriate resources.
Ideally, we would multiplex multiple event streams to only watch events in the namespaces that are named as monitored, to save receiving the entire event stream for all namespaces.
I've created #35 that adds a function to create a new shared informer with a specific namespace & set of labels. We'll need to update the actual controllers in pkg/controller to use this function next.
If a user specifies multiple namespaces, then we should create multiple instantiations of the Controller - one for each namespace being watched. This will mean there will be NumNamespaces * NumWorkersPerController worker goroutines processing at any one time.
It's now possible to watch a single namespace. I'm going to push watching multiple namespaces out of the initial milestone as you can run an instance per namespace for now.
Closing this as I've not seen any use-cases for it currently, and it introduces significant complexity to our handling of informers to do in any useful way.
Reacted by anushreeringne, Yevgeny Terov, Jacob Crowther, Nestor Manrique, Abdelazim Ali, Andy Townsend, vojtechvelkjop, oldpotato, Grégoire Martini and Alex Klein
Activity
luna-duclos commentedon May 24, 2017
We can probably snip the watch logic straight out of KCM for this one.
munnerz commentedon Aug 7, 2017
I've created #35 that adds a function to create a new shared informer with a specific namespace & set of labels. We'll need to update the actual controllers in
pkg/controllerto use this function next.If a user specifies multiple namespaces, then we should create multiple instantiations of the Controller - one for each namespace being watched. This will mean there will be NumNamespaces * NumWorkersPerController worker goroutines processing at any one time.
munnerz commentedon Sep 8, 2017
It's now possible to watch a single namespace. I'm going to push watching multiple namespaces out of the initial milestone as you can run an instance per namespace for now.
munnerz commentedon Jun 5, 2018
Closing this as I've not seen any use-cases for it currently, and it introduces significant complexity to our handling of informers to do in any useful way.
Merge pull request cert-manager#3 from varshaprasad96/test-kcp-scope
Vault extra audiences (#3)
[release-1.19] bump go + deps to fix govulncheck issues