silk-controller job from cf-networking/1.12.0
Github source:
b7257f1a
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.
connect_timeout_seconds
¶Connection timeout between the silk controller and the silk database. Also used by Consul DNS health check.
- Default
120
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
46455
health_check_port
¶Health check port for silk controller. Used by the Consul DNS health check.
- Default
19683
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
0
max_open_connections
¶Maximum number of open connections to the SQL database
- Default
0
metron_port
¶Forward metrics to this metron agent, listening on this port on localhost
- Default
3457
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
(fromdns_health_check.erb
)bin/pre-start
(frompre-start.erb
)bin/silk-controller_as_vcap
(fromsilk-controller_as_vcap.erb
)bin/silk-controller_ctl
(fromsilk-controller_ctl.erb
)config/certs/ca.crt
(fromca.crt.erb
)config/certs/server.crt
(fromserver.crt.erb
)config/certs/server.key
(fromserver.key.erb
)config/silk-controller.json
(fromsilk-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.