servicebroker job from app-autoscaler/3.0.0
Github source:
c763e9d or
master branch
Properties¶
autoscaler¶
binding_db¶
address¶IP address on which the bindingdb server will listen
- Default
autoscalerpostgres.service.cf.internal
databases¶The list of databases used in bindingdb database including name
db_scheme¶Database scheme to be used to access bindingdb
- Default
postgres
port¶Port on which the bindingdb server will listen
roles¶The list of database roles used in bindingdb database including name/password
sslmode¶sslmode to connect to postgres server
- Default
disable
tls¶
ca¶PEM-encoded ca certificate of tls database server
- Default
""
changeloglock_timeout_seconds¶Liquibase changelog lock timeout duration in seconds
- Default
180
service_broker¶
api_server¶
ca_cert¶PEM-encoded CA certificate
client_cert¶PEM-encoded client certificate
client_key¶PEM-encoded client key
host¶Host where APIserver is running
- Default
apiserver.service.cf.internal
port¶Port where APIserver will listen
- Default
6100
ca_cert¶PEM-encoded CA certificate
catalog¶The service broker catalog
- Default
services: - bindable: true description: Automatically increase or decrease the number of application instances based on a policy you define. id: autoscaler-guid name: autoscaler plans: - description: This is the free service plan for the Auto-Scaling service. id: autoscaler-free-plan-id name: autoscaler-free-plan
dashboard_redirect_uri¶service dashboard redirect uri
- Default
""
db_config¶
idle_timeout¶The idle timeout for connections (milliseconds)
- Default
60000
max_connections¶Maximum number of connections that may be held in the serverbroker db pool
- Default
10
min_connections¶Minimum number of connections that should be held in the servicebroker db pool
- Default
0
enable_custom_metrics¶whether to enable custom metrics
- Default
true
health¶
port¶the listening port of health endpoint
- Default
6201
hooks¶
post_start¶Script to run after service_broker has started
- Default
""
post_stop¶Script to run after service_broker has stopped
- Default
""
pre_start¶Script to run before starting service_broker
- Default
""- Example
|+ #!/bin/bash echo "Going to start service_broker" echo "service_broker data directory is ${DATA_DIR}" echo "service_broker port is ${PORT}" echo "service_broker directory is ${PACKAGE_DIR}"
pre_stop¶Script to run before stopping service_broker
- Default
""
http_request_timeout¶The timeout for http request (milliseconds)
- Default
60000
password¶password to authenticate with service broker
port¶Port where servicebroker internal server will run
- Default
6107
publicPort¶Port where servicebroker public server will run
- Default
6101
public_ca_cert¶PEM-encoded public CA certificate
public_server_cert¶PEM-encoded public server certificate
public_server_key¶PEM-encoded public server key
require_consul¶whether to start consul agent
- Default
false
server_cert¶PEM-encoded server certificate
server_key¶PEM-encoded server key
username¶username to authenticate with service broker
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/servicebroker/ directory
(learn more).
bin/dns_health_check(fromdns_health_check.erb)bin/hooks/post-start.sh(fromhooks/post-start.sh.erb)bin/hooks/post-stop.sh(fromhooks/post-stop.sh.erb)bin/hooks/pre-start.sh(fromhooks/pre-start.sh.erb)bin/hooks/pre-stop.sh(fromhooks/pre-stop.sh.erb)bin/pre-start(frompre-start.erb)bin/servicebroker(fromservicebroker.erb)config/catalog.json(fromcatalog.json.erb)config/certs/apiserver/ca.crt(fromapiserver_ca.crt.erb)config/certs/apiserver/client.crt(fromapiserver_client.crt.erb)config/certs/apiserver/client.key(fromapiserver_client.key.erb)config/certs/binding_db/ca.crt(frombinding_db_ca.crt.erb)config/certs/servicebroker/ca.crt(fromservicebroker_ca.crt.erb)config/certs/servicebroker/public_ca.crt(fromservicebroker_public_ca.crt.erb)config/certs/servicebroker/public_server.crt(fromservicebroker_public_server.crt.erb)config/certs/servicebroker/public_server.key(fromservicebroker_public_server.key.erb)config/certs/servicebroker/server.crt(fromservicebroker_server.crt.erb)config/certs/servicebroker/server.key(fromservicebroker_server.key.erb)config/config.json(fromconfig.json.erb)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.