Skip to content

bbs job from diego/1.15.3

Github source: b8a9e69b 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

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 (from bbs_as_vcap.erb)
  • bin/bbs_ctl (from bbs_ctl.erb)
  • bin/drain (from drain.erb)
  • bin/post-start (from post-start.erb)
  • config/bbs.json (from bbs.json.erb)
  • config/certs/auctioneer/ca.crt (from auctioneer_ca.crt.erb)
  • config/certs/auctioneer/client.crt (from auctioneer_client.crt.erb)
  • config/certs/auctioneer/client.key (from auctioneer_client.key.erb)
  • config/certs/ca.crt (from bbs_ca.crt.erb)
  • config/certs/etcd/ca.crt (from etcd_ca.crt.erb)
  • config/certs/etcd/client.crt (from etcd_client.crt.erb)
  • config/certs/etcd/client.key (from etcd_client.key.erb)
  • config/certs/rep/ca.crt (from rep_ca.crt.erb)
  • config/certs/rep/client.crt (from rep_client.crt.erb)
  • config/certs/rep/client.key (from rep_client.key.erb)
  • config/certs/server.crt (from bbs_server.crt.erb)
  • config/certs/server.key (from bbs_server.key.erb)
  • config/certs/sql/ca.crt (from sql_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.