Giter Site home page Giter Site logo

Comments (4)

mikkeloscar avatar mikkeloscar commented on August 22, 2024 1

@akryvko thanks for clarifying. I realized that we only do es node scaling without looking at CPU metrics, but we don't do any index scaling without considering the CPU metrics, even when the config has changed.

I would consider this a bug (probably we didn't implement it as it wasn't needed in the past).

from es-operator.

mikkeloscar avatar mikkeloscar commented on August 22, 2024

Right now you should be able to "enable" autoscaling and just set min and max settings to the same value such that it can't autoscale. It's a bit of a hack, but could work as a workaround.

from es-operator.

akryvko avatar akryvko commented on August 22, 2024

Not sure that it will help. Let me describe the case:

  • we had 12 pods and each index configured with 3 replicas, so minIndexReplicas=3
  • since our traffic is very spiky we wanted to be prepared for morning peak by increasing pods count and index replicas beforehand.
  • so we updated pods to 18 and minIndexReplicas=5
  • we expected that es-operator immediately change replica count right after configuration apply, but this not happened.
  • so we had to manually update each index with "number_of_replicas" : 5 which is not quite convenient
  • as we understood es operator applies minIndexReplicas only on "scale trigger", e.g. high cpu consumption. Which does not work for cases when we want to be pre-scaled.
    So we do not mind to have autoscaling, but also it would be good to apply minIndexReplicas to all indices immediately using config.

Here is our config:
https://github.bus.zalan.do/Phoenix/lounge-elasticsearch/blob/master/deploy/prod/apply/eds.yaml

from es-operator.

otrosien avatar otrosien commented on August 22, 2024

Closed via #157. Thank you for the contribution.

from es-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.