Skip to content

silk-controller job from cf-networking/0.25.0

Github source: 1297857 or master branch

Properties

cf_networking

disable

Disable container to container networking.

Default
false

network

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

Default
10.255.0.0/16

silk_controller

ca_cert

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

database
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.

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
22222
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
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.

silk_daemon

ca_cert

Trusted CA certificate that was used to sign the silk controller server cert and key.

client_cert

Client certificate for TLS to access silk controller.

client_key

Client private key for TLS to access silk controller.

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/client-ca.crt (from client-ca.crt.erb)
  • config/certs/client.crt (from client.crt.erb)
  • config/certs/client.key (from client.key.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.