Skip to content
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

Add and use pod labels to avoid having to query all pods from kubernetes #461

Open
otrosien opened this issue Dec 4, 2024 · 0 comments
Open

Comments

@otrosien
Copy link
Member

otrosien commented Dec 4, 2024

Expected Behavior

es-operator should only query for pods that belong to EDS resources. We therefore need to attach a custom label to the pods belonging to our EDS, so that we can reduce the memory footprint.

Actual Behavior

This code will make es-operator consume huge amounts of memory in large (2k+ pods) clusters.

Steps to Reproduce the Problem

  1. create a huge cluster (doesn't need to be all Elasticsearch)
  2. watch es-operator go OOM

Acceptance criteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant