Skip to content

gorouter job from cf/191

Github source: 43c823b7 or master branch

Properties

dropsonde

enabled

Enable the dropsonde emitter library

Default
false

metron_endpoint

dropsonde_port

The port used to emit dropsonde messages to the Metron agent.

Default
3457

host

The host used to emit messages to the Metron agent.

Default
127.0.0.1

port

The port used to emit legacy messages to the Metron agent.

Default
3456

shared_secret

The key used to sign log messages.

nats

machines

IP of each NATS cluster member.

password

port

user

networks

apps

GoRouter network information.

request_timeout_in_seconds

Timeout in seconds for Router -> Endpoint roundtrip.

Default
300

router

offset

Default
0

port

Listening Port for Router.

Default
80

requested_route_registration_interval_in_seconds

Interval at which the router requests routes to be registered.

Default
20

status

password

Password for HTTP basic auth to the varz/status endpoint.

port

Port for the Router varz/status endpoint.

Default
8080
user

Username for HTTP basic auth to the varz/status endpoint.

trace_key

If the X-Vcap-Trace request header is set and has this value, trace headers are added to the response.

Default
22

syslog_aggregator

address

IP address for syslog aggregator.

all

Define whether forwarders should send all their syslog data to our aggregator.

Default
false

port

TCP port of syslog aggregator.

transport

Transport to be used when forwarding logs (tcp|udp|relp).

Default
tcp

Templates

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

  • bin/drain (from drain)
  • bin/gorouter_ctl (from gorouter_ctl.erb)
  • config/gorouter.yml (from gorouter.yml.erb)
  • config/gorouter_logrotate.cron (from gorouter_logrotate.cron.erb)
  • config/logrotate.conf (from logrotate.conf.erb)
  • config/syslog_forwarder.conf (from syslog_forwarder.conf.erb)

Packages

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