bbs job from diego/1.23.2
Github source:
7a57a799
or
master branch
Properties¶
diego
¶
bbs
¶
active_key_label
¶Label of the encryption key to be used when writing to the database
advertisement_base_hostname
¶Suffix for the BBS advertised hostname
- Default
bbs.service.cf.internal
auctioneer
¶
api_location
¶Hostname and port of the auctioneer API, without URI scheme. Recommended in favor of api_url.
- Example
auctioneer.service.cf.internal:9016
api_url
¶URL of the auctioneer API. Deprecated in favor of api_location, but in use through Diego v1.
- Default
http://auctioneer.service.cf.internal:9016
ca_cert
¶CA cert for communication to the auctioneer.
client_cert
¶Client cert for communication to the auctioneer.
client_key
¶Client key for communication to the auctioneer.
require_tls
¶Whether to use mutual TLS for communication with the auctioneer API.
- Default
false
ca_cert
¶PEM-encoded CA certificate
convergence
¶
expire_completed_task_duration_in_seconds
¶completed, unresolved tasks are deleted after this duration in seconds
- Default
120
expire_pending_task_duration_in_seconds
¶unclaimed tasks are marked as failed, after this duration in seconds
- Default
1800
kick_task_duration_in_seconds
¶the interval, in seconds, between kicks to tasks in seconds
- Default
30
repeat_interval_in_seconds
¶the interval between runs of the converge process
- Default
30
debug_addr
¶address at which to serve debug info
- Default
127.0.0.1:17017
desired_lrp_creation_timeout
¶expected maximum time to create all components of a desired LRP (golang duration formatted string)
dropsonde_port
¶local metron agent’s port
- Default
3457
enable_access_log
¶Enable access log, i.e. log every request made to the bbs
- Default
false
encryption_keys
¶List of encryption keys to be used
- Default
[]
etcd
¶
ca_cert
¶PEM-encoded CA certificate
client_cert
¶PEM-encoded client certificate
client_key
¶PEM-encoded client key
client_session_cache_size
¶capacity of the tls client cache
machines
¶Addresses pointing to the ETCD cluster
- Default
- etcd.service.cf.internal
max_idle_conns_per_host
¶maximum number of idle http connections
require_ssl
¶enable ssl for all communication with etcd
- Default
true
health_addr
¶address at which BBS serves ‘/ping’ health-check endpoint
- Default
127.0.0.1:8890
listen_addr
¶address at which to serve API requests
- Default
0.0.0.0:8889
locket
¶
api_location
¶EXPERIMENTAL: hostname and port of the locket server
log_level
¶Log level
- Default
info
rep
¶
ca_cert
¶CA cert for communication to the rep.
client_cert
¶Client cert for communication to the rep.
client_key
¶Client key for communication to the rep.
client_session_cache_size
¶capacity of the tls client cache
- Default
0
require_tls
¶Whether to require TLS for communication to the securable rep API server
- Default
false
require_ssl
¶require ssl for all communication the bbs
- Default
true
server_cert
¶PEM-encoded client certificate
server_key
¶PEM-encoded client key
skip_consul_lock
¶EXPERIMENTAL: true to skip consul lock. locket.api_location must be set
- Default
false
sql
¶
ca_cert
¶Bundle of CA certificates for the BBS to verify the SQL server SSL certificate when connecting via SSL
db_connection_string
¶Connection string to use for SQL backend. DEPRECATED, use db_{host,port,schema,username,password} instead
- Default
""
db_driver
¶Database driver to use for SQL backend (for example: mysql,postgres)
- Default
mysql
db_host
¶Host for SQL backend
- Default
""
db_password
¶Password to use for connecting to SQL backend
- Default
""
db_port
¶Port for SQL backend
- Default
""
db_schema
¶Database name to use for connecting to SQL backend
- Default
""
db_username
¶Username to use for connecting to SQL backend
- Default
""
max_idle_connections
¶Maximum number of idle connections to the SQL database
max_open_connections
¶Maximum number of open connections to the SQL database
require_ssl
¶Whether to require SSL for BBS communication to the SQL backend
- Default
false
loggregator
¶
ca_cert
¶CA Cert used to communicate with local metron agent over gRPC
cert
¶Cert used to communicate with local metron agent over gRPC
key
¶Key used to communicate with local metron agent over gRPC
use_v2_api
¶True to use local metron agent gRPC v2 api. False, to use UDP v1 api
- Default
false
v2_api_port
¶Local metron agent gRPC port
- Default
3458
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/bbs/
directory
(learn more).
bin/bbs_as_vcap
(frombbs_as_vcap.erb
)bin/bbs_ctl
(frombbs_ctl.erb
)bin/drain
(fromdrain.erb
)bin/post-start
(frompost-start.erb
)config/bbs.json
(frombbs.json.erb
)config/certs/auctioneer/ca.crt
(fromauctioneer_ca.crt.erb
)config/certs/auctioneer/client.crt
(fromauctioneer_client.crt.erb
)config/certs/auctioneer/client.key
(fromauctioneer_client.key.erb
)config/certs/ca.crt
(frombbs_ca.crt.erb
)config/certs/etcd/ca.crt
(frometcd_ca.crt.erb
)config/certs/etcd/client.crt
(frometcd_client.crt.erb
)config/certs/etcd/client.key
(frometcd_client.key.erb
)config/certs/loggregator/ca.crt
(fromloggregator_ca.crt.erb
)config/certs/loggregator/client.crt
(fromloggregator_client.crt.erb
)config/certs/loggregator/client.key
(fromloggregator_client.key.erb
)config/certs/rep/ca.crt
(fromrep_ca.crt.erb
)config/certs/rep/client.crt
(fromrep_client.crt.erb
)config/certs/rep/client.key
(fromrep_client.key.erb
)config/certs/server.crt
(frombbs_server.crt.erb
)config/certs/server.key
(frombbs_server.key.erb
)config/certs/sql/ca.crt
(fromsql_ca.crt.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.