-
Notifications
You must be signed in to change notification settings - Fork 47
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
Scale index replicas independently #13
Comments
Hi @otrosien |
Hi @amanjain97. We need to put effort first into conceptualizing this idea. For the time being try to stick with two EDS to scale them independently. |
A quick workaround is using ES node group allocation to separate two groups and scale independently. |
I think this is what I meant. We have this kind of setup in our company where we're running multiple EDS stacks in the same cluster, and indices are separated into individual stacks by using node group attributes. First of all, does this kind of set up work for you as well? What is the main pain point, is it cost? |
We have similar problem, main point might be cost for us, but multiple EDS is working well.
The I will maybe start to investigate the code, but I am wondering if I should deploy one Operator per group ? or if the operator can be stuck in an operation |
It should be able to handle multiple EDS at a time, so it could indicate a bug if it's not. |
So it seems to happen when I set I will try to reproduce and look to more info like, log of master, check exlude node in the cluster etc |
Sometimes ES is just not able to de-allocate shards from a node given its constraints (shards per node, availability zone awareness etc.) you'll need to check with the allocation-explain API (https://www.elastic.co/guide/en/elasticsearch/reference/7.9/cluster-allocation-explain.html) when such things happen. |
@otrosien |
I personally don't have any experience in running ES in multitenancy. Have you checked the security features from the basic license? https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api.html It may be worth asking your questions in the Elastic discussion forums. |
It is usually sufficient to scale up replicas of one index in a group: the one with the highest traffic. Benefit is increased efficiency of scaling operation, less wasted resources by adding replicas for indices that may not require it.
Implementation would require monitoring per-index or per-node CPU stats to identify the hot-spot in the cluster group. The indices allocated on this node are potential candidates for scaling out.
The text was updated successfully, but these errors were encountered: