fabric8io / fabric8

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
http://fabric8.io/
1.76k stars 504 forks source link

provide a custom auto scaler in Java code (or Drools) #3000

Open jstrachan opened 9 years ago

jstrachan commented 9 years ago

folks might wish to configure their own custom auto scaling rules based on observing consolidated operational metrics of a system which are then used to provide some form of auto scaling rules which then update the replica counts of the related Replication Controllers to scale up / down services.

We may want to let folks write custom code in Java for complex logic; or use drools rules.

Being able to fire human workflows may be handy too; so automatic and manually approved scale increases can be defined

pires commented 9 years ago

+1

Would be nice to integrate this with JMX, since it's a standard for app monitoring.

jstrachan commented 9 years ago

agreed. I'm assuming the metrics mostly come from JMX and cAdvisor and the like; get dumped into something for historical charting (e.g. InfluxDB) and real time charts can be viewed (e.g. Grafana); then the auto scaler would consume an aggregated sequence of metrics - and use those to perform its auto scale rule calculations etc