Skip to content

silk-controller job from silk/2.3.0

Github source: 42b733f or master branch

Properties

ca_cert

Trusted CA certificate that was used to sign the silk daemon client cert and key.

database

ca_cert

ca cert for db connectivity. Requires ‘database.require_ssl’ to be true.

connect_timeout_seconds

Connection timeout between the silk controller and the silk database.

Default
120

host

Host (IP or DNS name) for database server.

name

Name of logical database to use.

password

Password for database connection.

port

Port for database server.

require_ssl

Require ssl db connectivity when true. Must be used in conjuncture with a release that is configured with ssl.

Default
false

type

Type of database: postgres or mysql

username

Username for database connection.

debug_port

Debug port for silk controller. Use this to adjust log level at runtime or dump process stats.

Default
46455

disable

Disable this monit job. It will not run. Required for backwards compatability

Default
false

health_check_port

Health check port for silk controller. Used by the Consul DNS health check.

Default
19683

health_check_timeout_seconds

Health check timeout for Consul DNS.

Default
5

listen_ip

IP address where the silk controller will serve its API.

Default
0.0.0.0

listen_port

Port where the silk controller will serve its API. Silk daemon connects to this port.

Default
4103

max_idle_connections

Maximum number of idle connections to the SQL database

Default
200

max_open_connections

Maximum number of open connections to the SQL database

Default
200

metron_port

Forward metrics to this metron agent, listening on this port on localhost

Default
3457

network

CIDR address block for overlay network. Subnets for each diego cell are allocated out of this network.

Default
10.255.0.0/16

server_cert

Server certificate for TLS. Must have common name that matches the Consul DNS name of the silk controller, eg silk-controller.service.cf.internal

server_key

Server key for TLS.

subnet_lease_expiration_hours

Expiration time for subnet leases, in hours. If a cell is not gracefully stopped, its lease may be reclaimed after this duration. Diego cells that are partitioned from the silk controller for longer than this duration will be removed from the network.

Default
168

subnet_prefix_length

Length, in bits, of the prefix for subnets allocated per Diego cell, e.g. ‘24’ for a ‘/24’ subnet.

Default
24

Templates

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

  • bin/dns_health_check (from dns_health_check.erb)
  • bin/pre-start (from pre-start.erb)
  • bin/silk-controller_as_vcap (from silk-controller_as_vcap.erb)
  • bin/silk-controller_ctl (from silk-controller_ctl.erb)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/database_ca.crt (from database_ca.crt.erb)
  • config/certs/server.crt (from server.crt.erb)
  • config/certs/server.key (from server.key.erb)
  • config/silk-controller.json (from silk-controller.json.erb)

Packages

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