Skip to content

scalingengine job from app-autoscaler/1.0.0

Github source: ecee86c or master branch

Properties

autoscaler

cf

api

the Cloud Foundry API endpoint

client_id

the client id to log in cf

grant_type

the grant type to log in cf

password

the password to log in cf

secret

the secret to log in cf

skip_ssl_validation

Flag to skip ssl validation to connect to CC and UAA

Default
false
username

the user name to log in cf

policy_db

address

IP address on which the policydb server will listen

Default
postgres.service.cf.internal
databases

The list of databases used in policydb database including name

db_scheme

Database scheme to be used to access policydb

port

Port on which the policydb server will listen

roles

The list of database roles used in policydb database including name/password

policy_db_connection_config

connection_max_lifetime
Default
60s
max_idle_connections
Default
10
max_open_connections
Default
100

scalingengine

ca_cert

PEM-encoded CA certificate

consul
cluster

Consul Cluster configuration. If not specified, scaling engine will not register itself with consul.

Default
""
defaultCoolDownSecs

Default value for cool_down_secs

Default
300
health
emit_interval

the time interval to emit health metrics

Default
15s
port

the listening port of health endpoint

Default
8081
lockSize

the lock size of scalingengine

Default
32
logging
level

the level of logging

Default
info
require_consul

whether to start consul agent

Default
true
server
port

the listening port of server

Default
6104
server_cert

PEM-encoded server certificate

server_key

PEM-encoded server key

scalingengine_db

address

IP address on which the scalingenginedb server will listen

Default
postgres.service.cf.internal
databases

The list of databases used in scalingenginedb database including name

db_scheme

Database scheme to be used to access scalingenginedb

port

Port on which the scalingenginedb server will listen

roles

The list of database roles used in scalingenginedb database including name/password

scalingengine_db_connection_config

connection_max_lifetime
Default
60s
max_idle_connections
Default
10
max_open_connections
Default
100

scheduler_db

address

IP address on which the schedulerdb server will listen

Default
postgres.service.cf.internal
databases

The list of databases used in schedulerdb database including name

db_scheme

Database scheme to be used to access schedulerdb

port

Port on which the schedulerdb server will listen

roles

The list of database roles used in schedulerdb database including name/password

scheduler_db_connection_config

connection_max_lifetime
Default
60s
max_idle_connections
Default
10
max_open_connections
Default
100

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/scalingengine/ directory (learn more).

  • bin/pre-start (from pre-start.erb)
  • bin/scalingengine_ctl (from scalingengine_ctl)
  • config/certs/scalingengine/ca.crt (from scalingengine_ca.crt.erb)
  • config/certs/scalingengine/server.crt (from scalingengine_server.crt.erb)
  • config/certs/scalingengine/server.key (from scalingengine_server.key.erb)
  • config/scalingengine.yml (from scalingengine.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.