Giter VIP home page Giter VIP logo

app-autoscaler-release's Introduction

Application Autoscaler

The Application Autoscaler provides the capability to adjust the computation resources for Cloud Foundry applications through

  • dynamic scaling based on application performance metrics
  • dynamic scaling based on custom metrics
  • scheduled scaling based on time

Local Development

Prerequisites

Make Targets

Target Description
make generate-fakes generate mocks
make test run unit-tests against PostgreSQL
make clean && make test POSTGRES_TAG=x.y run unit-tests against specific PostgreSQL version
make test db_type=mysql run unit-tests against MySQL
make clean && make test db_type=mysql MYSQL_TAG=x.y run unit-tests against specific MySQL version
make integration run integration-tests against PostgreSQL
make clean && make integration POSTGRES_TAG=x.y run integration-tests against specific PostgreSQL version
make integration db_type=mysql run integration-tests against MySQL
make clean && make integration db_type=mysql MYSQL_TAG=x.y run integration-tests against specific MySQL version
make acceptance-tests run acceptance-tests, see AutoScaler UAT guide for details
make lint check code style
OPTS=--fix RUBOCOP_OPTS=-A make lint check code style and apply auto-fixes
make build compile project
make deploy-autoscaler deploy Application Autoscaler and register the service broker in CF
make clean remove build artifacts

Use Application Autoscaler Service

Refer to user guide for the details of how to use the Auto-Scaler service, including policy definition, supported metrics, public API specification and command line tool.

Monitor Microservices

The app-autoscaler provides a number of health endpoints that are available externally that can be used to check the state of each component. Each health endpoint is protected with basic auth (apart from the api server), the usernames are listed in the table below, but the passwords are available in credhub.

Component Health URL Username Password Key
eventgenerator https://autoscaler-eventgenerator.((system_domain))/health eventgenerator /autoscaler_eventgenerator_health_password
metricsforwarder https://autoscaler-metricsforwarder.((system_domain))/health metricsforwarder /autoscaler_metricsforwarder_health_password
scalingengine https://autoscaler-scalingengine.((system_domain))/health scalingengine /autoscaler_scalingengine_health_password
operator https://autoscaler-operator.((system_domain))/health operator /autoscaler_operator_health_password
scheduler https://autoscaler-scheduler.((system_domain))/health scheduler /autoscaler_scheduler_health_password

These endpoints can be disabled by using the ops file example/operations/disable-basicauth-on-health-endpoints.yml

License

This project is released under version 2.0 of the Apache License.

app-autoscaler-release's People

Contributors

renovate[bot] avatar kevinjcross avatar garethjevans avatar dependabot[bot] avatar bonzofenix avatar silvestre avatar asalan316 avatar joergdw avatar qibobo avatar boyang9527 avatar cdlliuy avatar fraenkel avatar rohitsharma04 avatar salzmannsusan avatar paltanmoy avatar app-autoscaler-ci-bot avatar geigerj0 avatar kanekoh avatar olivermautschke avatar ghaih avatar anubhav-gupta1 avatar aadeshmisra avatar pradyutsarma avatar aqan213 avatar zyjiaobj avatar kongjicdl avatar mvach avatar peterellisjones avatar donacarr avatar itsouvalas avatar

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.