Git Product home page Git Product logo

klutch's People

Contributors

tbeijen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

klutch's Issues

Documentation

Thoughts:

  • Readme
  • Consider moving dev & vscode things to separate files under /docs
  • Use case (blog post?)

Consider cooldown

Scenario:

  • Trigger fires, hpas scale up
  • Traffic comes in
  • Sequence ends, hpas reverted. Traffic still high.
  • 2nd trigger fires
  • This is not expected to once again cause an increase in traffic, now based on still ongoing peak traffic, klutch would again ramp up deployments.

It might be good to have the option to set a cooldown: Never scale up a 2nd time within that period.
However, this might also have averse effect, not ramping up where it would have been needed.

Note that this will likely lead to renaming the cooldown option in the Config class to something else.

POST api endpoint

Removing latency between trigger appearing and being picked up by klutch.

Thoughts:

  • Auth? Lo-fi starting point would be a secret holding bearer token that needs to be present in request.
  • How to run control loop and webserver in parallel.

Send notifications

First thoughts: Generic webhook, suitable for slack but also other platforms.

Review and improve error handling

Example: If RBAC is not set up correctly exceptions will be logged. But the process doesn't crash.

Probably best to crash the process, resulting in CrashLoop which will be more visible and trigger any alerts already set up.

metrics endpoint

Prometheus metrics. Something to put in dashboards.

Possibile metrics include:

  • Active y/n
  • Pods added
  • HPAs elegible
  • HPAs examined
  • Control loop duration
  • Errors
  • ...

Relates to #3, also requiring a webserver to run in parellel with control loop.

Additional triggers

First of all: Needed, or sticking to add your own trigger service, posting to API endpoint? (#3)

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.