Argo events use case:
Event source - webhook
Sensor - k8s actions (create/delete resources, e.g. pod/secrets/job)
There are less than 10 triggers in configuration (https://github.com/argoproj/argo-events/issues/1339)
Default Sensor memory utilization ~60-100mb.
Side effect: when there are a lot of k8s Secrets in the cluster (e.g.8-20k) Sensor pod starts to consume more memory *up to 500mb. Another issue, in this case, is low event processing throughput (up to 5min between sending webhook until k8s action will be performed). Is there a chance that Sensor persists the list of secrets in memory and does not destroy it? Or how memory consumption may affect throughput?
Environment (please complete the following information):
Kubernetes: 1.28.x
Argo Events: 1.9.1
nats: 2.10.12
nats-streaming:0.25.6
jetstream: 2.9.1
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
Argo events use case: Event source - webhook Sensor - k8s actions (create/delete resources, e.g. pod/secrets/job) There are less than 10 triggers in configuration (https://github.com/argoproj/argo-events/issues/1339)
Default Sensor memory utilization ~60-100mb. Side effect: when there are a lot of k8s Secrets in the cluster (e.g.8-20k) Sensor pod starts to consume more memory *up to 500mb. Another issue, in this case, is low event processing throughput (up to 5min between sending webhook until k8s action will be performed). Is there a chance that Sensor persists the list of secrets in memory and does not destroy it? Or how memory consumption may affect throughput?
Environment (please complete the following information):
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.