Comments (2)
@s-vkropotko alternative to the current implementation: Should the ES-Operator move the system indices away (exclude allocation of the system index from the current EDS). They not only shouldn't be scaled up or down but they could also be harming an even balancing out of user shards. WDYT?
from es-operator.
Hi!
According to this elastic/elasticsearch#50251
Smarter replication for system indices (continue to use auto expand 0-1 or maybe a new scheme?)
System indices suppose to use auto_expand_replicas
option for now but this can be changed in the future.
Also, users can create indices with this option(auto_expand_replicas
) then ES-Op cannot manage a number of replicas for these indices (as the direct update of number_of_replicas
acceptable but not applicable).
>> curl http://localhost:9200/_cat/indices
green open test5 Ietp5gGtQcK0WBWsbnnh3g 1 1 0 0 416b 208b
>> curl -X PUT http://localhost:9200/test5/_settings --data '{"settings": {"number_of_replicas": 2}}' -H 'Content-type: application/json'
{"acknowledged":true}
>> curl "http://localhost:9200/test5/_settings?pretty=true"
{
"test5" : {
"settings" : {
"index" : {
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : "test",
...
"number_of_replicas" : "1",
...
So maybe we can try to update the function GetIndices
to return only manageable indices and an additional returns value of unmanageable total shards(primary+replicas), e.g. system indices and indices with auto_expand
option ? Then we can use it for proper calculation of shards to nodes ratio.
from es-operator.
Related Issues (20)
- Unable to enable basic authentication HOT 3
- VCT example fails due to not setting max_map_count
- Custom service HOT 3
- [Feature] auto scaling configurations HOT 1
- Shard replica added before statefull set ready HOT 3
- [Bug] IP stays in exclude list when draining fails
- Feature request: Awareness of rolling restart requirement for version upgrade
- Apply minIndexReplicas on config change HOT 4
- Interest in contributing to OpenSearch HOT 12
- Unable to create "Persistent Volume Claims" HOT 3
- Infinite loop while updating EDS HOT 1
- Deprecation Warning "policy/v1beta1 PodDisruptionBudget is deprecated"
- Document spec.excludeSystemIndices
- Elasticsearch data pods don't come up HOT 7
- Document runbook in case of emergency
- Pod stuck in migration HOT 2
- Could it be used with the eck operator? HOT 1
- Auto-scaling does not work HOT 3
- Dependabot wasn't able to update github.com/go-resty/resty
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 es-operator.