Comments (3)
@mszostok posted this answer in Slack thread https://botkube.slack.com/archives/C01CR1KS55K/p1709121554586339
Thank you for upgrading! I've reviewed your configuration, and I agree with your observation about its similarity to the previous report.
I think that I know what could cause that. The common thing is that you have a lot of dedicated k8s source configurations, and you are also watching a lot of different resources. It's great to see such usage 🎉
I believe the root cause is directly connected with changed kubernetes source implementation. In our current approach, a new shared informer is created for each Kubernetes source (see: [source.go#L122]). Unlike the previous method, which had a single informer based on merged all configurations, the current approach results in multiple in-memory informers for each configuration - making it N times.
To address this, I think that we should refactor our approach and introduce a global informer, similar to the one we had in v0.18. This should help resolve the issue.
Could you please create a GitHub issue for this? We'll further refine it and try include it in our next planning 👍 However, since the kubernetes code is fully open source, if you find the time to experiment with refactoring and testing this approach, it would it would be amazing! 🙂 If not, we will try to handle it in our team and keep you posted 👍
from botkube.
Related Issues (20)
- Disable interactive commands HOT 2
- Adding user mentions in the command header for interactive responses
- Update keptn plugin deps HOT 1
- Release Botkube 1.8 HOT 1
- Write new dev blog post HOT 4
- OpenAI model in Doctor plugin was shut down HOT 1
- Botkube/doctor request to OpenAI 404:invalid_request_error HOT 3
- Botkube doesn't respond when a message comes from an other bot
- Socket Slack Docs HOT 1
- Notification not working HOT 2
- Helm upgrade with `existingCommunicationsSecretName` fails HOT 4
- Handle non-native k8s verbs in `kubectl` auth service
- Offer to use ollama instead of chatgpt HOT 1
- Release Botkube v1.9.0
- Helm plugin missing from plugins-index.yaml for 1.9.0 HOT 2
- K8s source doesn't send alerts when the extra buttons cannot be rendered
- AI eng blog post HOT 1
- weekly/daily report blog post
- Improve documentation structure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botkube.