service-discovery-controller job from cf-networking/3.59.0
Github source:
7fb6489e
or
master branch
Properties¶
address
¶
Address which service-discovery-controller will listen on.
- Default
0.0.0.0
dnshttps
¶
client
¶
ca
¶client-side mutual TLS configuration for dns over http
server
¶
tls
¶Server-side mutual TLS configuration for dns over http
log_level_address
¶
Address which log level endpoint listens on
- Default
127.0.0.1
log_level_port
¶
Port which log level endpoint listens on
- Default
8055
metron_port
¶
Forward metrics to this metron agent, listening on this port on localhost
- Default
3457
nats
¶
ca_certs
¶String of concatenated certificate authorities in PEM format, used to validate certificates presented by NATS.
cert_chain
¶Certificate chain used for client authentication to NATS. In PEM format.
machines
¶IPs of each NATS cluster member
- Example
|+ - 192.168.50.123 - 192.168.52.123
password
¶Password for NATS authentication
- Example
natSpa55w0rd
port
¶TCP port of NATS servers
- Example
4222
private_key
¶Private key used for client authentication to NATS. In PEM format.
tls_enabled
¶When enabled, Gorouter will prefer to connect to NATS over TLS
- Default
false
user
¶User name for NATS authentication
- Example
nats
port
¶
Port which service-discovery-controller will listen on.
- Default
8054
read_header_timeout
¶
The amount of time allowed to read request headers
- Default
30s
route_emitter_interval_seconds
¶
Interval in seconds for which the route emitter is told to emit all routes. This value should be less than the staleness_threshold_seconds
- Default
60
staleness_threshold_seconds
¶
Staleness threshold in seconds for routes. If the service-discovery-controller does not receive a message about a route within this threshold, the route will be pruned from the table. This value is recommended to be three times the value of route_emitter_interval_seconds
- Default
180
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/service-discovery-controller/
directory
(learn more).
bin/post-start
(frompost-start.erb
)config/bpm.yml
(frombpm.yml.erb
)config/certs/client_ca.crt
(fromclient_ca.crt.erb
)config/certs/nats_ca_certs.crt
(fromnats_ca_certs.crt.erb
)config/certs/nats_cert_chain.crt
(fromnats_cert_chain.crt.erb
)config/certs/nats_private_key.key
(fromnats_private_key.key.erb
)config/certs/server.crt
(fromserver.crt.erb
)config/certs/server.key
(fromserver.key.erb
)config/config.json
(fromconfig.json.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.