Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

Multiple namespaces feature#242

Open
luis-miguel-miranda wants to merge 1 commit intovmware-archive:masterfrom
luis-miguel-miranda:master
Open

Multiple namespaces feature#242
luis-miguel-miranda wants to merge 1 commit intovmware-archive:masterfrom
luis-miguel-miranda:master

Conversation

@luis-miguel-miranda
Copy link

This pull request contains a working version of multiple namespaces selection.

I've tried the code changes from PR 152. However this code resulted in multiple notifications for the same event and issues with inconsistency while adding several namespaces watchers.
Here we create a thread per namespace when appropriate.

This feature is particularly helpful when you want to monitor a namespace of a cluster you are not admin as kubewatch allows that.

Note I am neither well versed on go nor spent a major amount of time on this. If the implementation sucks feel free to throw away. However the features have been working well in Openshift and AKS environments I use on and enterprise setting and may be useful for others.

@nareshpandianpc
Copy link

Can you merge this pr .
We need to watch multiple namespaces in single pod or deployment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments