-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore the unknown CRD's #1080
Comments
Hey @NishantSingh10 , can you elaborate a bit more?
Which exactly issues you're facing? Can you provide the logs? |
Hi @pkosiec, I discuss the whole problem in detail with one of your member named Mateusz Szostok, and provided every details to them, he helped me out to figure out this issue when i shared the log with him, can you please checkout once with him, it will be really helpful to you. |
Ah, ok - @mszostok please put a bit more description here once you have time. Thanks! |
DescriptionThe k8s source is now an external plugin. We start only 1 process, and then we call User facing problem
As you can see, it is a bad UX but can also lead to some serious issues:
The root cause is that the K8s plugins tries to set up a watch loop, and it fails as CRDs are not recognized by API server. Here is the code that causes that: botkube/internal/source/kubernetes/source.go Lines 128 to 137 in 0d4f918
Of course, there can be any other issues like API Server is temporarily unavailable, etc. However, in this particular issue, we can focus only on ignoring/filtering out unknown resources and improving notification to include information about started processes. Possible resolution
Later implement #878. |
Will be addressed in #878, as such invalid configuration will cause plugin restart. |
Overview
Add ignore unknown CRD's feature.
Acceptance Criteria
there should be some configuration which will ignore the unknown CRD's.
Reason
When I am configuring botkube it's working perfectly but if it found an unknown CRD's whole botkube failing.
The text was updated successfully, but these errors were encountered: