Skip to content

locket job from diego/1.15.1

Github source: 2dff8f5b or master branch

Properties

database

max_open_connections

maximum number of open connections to the database

Default
200

diego

locket

debug_addr

address at which to serve debug info

Default
127.0.0.1:17018
listen_addr

address at which to serve API requests

Default
0.0.0.0:8891
log_level

Log level

Default
info
sql
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
""

dropsonde_port

local metron agent’s port

Default
3457

tls

ca_cert

ca cert for locket server mutual auth tls

cert

server cert for locket server mutual auth tls

key

server key for locket server mutual auth tls

Templates

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

  • bin/locket_as_vcap (from locket_as_vcap.erb)
  • bin/locket_ctl (from locket_ctl.erb)
  • config/certs/ca.crt (from locket_ca.crt.erb)
  • config/certs/server.crt (from locket_server.crt.erb)
  • config/certs/server.key (from locket_server.key.erb)
  • config/locket.json (from locket.json.erb)

Packages

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