Skip to content

route_emitter_windows job from diego/2.0.0

Github source: e4b4004 or master branch

Properties

diego

route_emitter

bbs
api_location

Address to the BBS Server

Default
bbs.service.cf.internal:8889
ca_cert

REQUIRED: PEM-encoded CA certificate

client_cert

REQUIRED: PEM-encoded client certificate

client_key

REQUIRED: PEM-encoded client key

client_session_cache_size

capacity of the tls client cache

max_idle_conns_per_host

maximum number of idle http connections

debug_addr

address at which to serve debug info

Default
127.0.0.1:17009
dropsonde_port

local metron agent’s port. Deprecated, will be removed when loggregator API v1 support is removed.

Default
3457
healthcheck_address

address at which to serve debug info

Default
127.0.0.1:17011
job_name

The name of the Diego job referenced by this spec (DO NOT override)

Default
route_emitter_windows
local_mode

Enable cell-local mode for the route-emitter. In this mode, the route-emitter emits route registrations only for the instances associated to its cell, as determined by the BOSH-assigned VM identifier spec.id.

Default
false
log_level

Log level

Default
info
nats
machines

IP of each NATS cluster member.

password

Password for server authentication.

port

The port for the NATS server to listen on.

Default
4222
user

Username for server authentication.

sync_interval_in_seconds

Interval to sync routes to the router in seconds.

Default
60

internal_routes

enabled

Experimental: Enable the route-emitter to emit registrations for internal DNS-based service discovery.

Default
false

locks

consul

enabled

Whether the route-emitter in global mode should attempt to claim its activity lock via the Consul API.

Default
true

locket

enabled

Whether the route-emitter in global mode should attempt to claim its activity lock via the Locket API.

Default
true
hostname

Hostname at which to discover the Locket API server. The route-emitter will use its BBS client credentials to authenticate to the Locket API.

Default
locket.service.cf.internal
port

Port of the Locket API server.

Default
8891

loggregator

ca_cert

CA Cert used to communicate with local metron agent over gRPC

cert

Cert used to communicate with local metron agent over gRPC

key

Key used to communicate with local metron agent over gRPC

use_v2_api

True to use local metron agent gRPC v2 API. False to use UDP v1 API.

Default
false

v2_api_port

Local metron agent gRPC port

Default
3458

routing_api

auth_enabled

Enable UAA authentication when communicating with the Routing API

Default
true

port

Routing API port to be used by the tcp route-emitter

Default
3000

url

Routing API uri to be used by the tcp route-emitter

Default
http://routing-api.service.cf.internal

syslog_daemon_config

address

Syslog host

Default
""

port

Syslog port

Default
""

transport

Syslog transport protocol (tcp or udp)

Default
udp

tcp

enabled

Enable the route-emitter in cell-local mode to emit TCP routes for instances to the Routing API.

Default
false

uaa

ca_cert

UAA ca certificate

client_name

UAA client id

Default
tcp_emitter

client_secret

UAA client secret

hostname

UAA hostname

Default
uaa.service.cf.internal

port

The port on which UAA accepts TLS connections

Default
8443

skip_cert_verify

Skip certificate verification when communicating with UAA

Default
false

Templates

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

  • bin/post-start.ps1 (from post-start.ps1.erb)
  • config/certs/bbs/ca.crt (from bbs_ca.crt.erb)
  • config/certs/bbs/client.crt (from bbs_client.crt.erb)
  • config/certs/bbs/client.key (from bbs_client.key.erb)
  • config/certs/loggregator/ca.crt (from loggregator_ca.crt.erb)
  • config/certs/loggregator/client.crt (from loggregator_client.crt.erb)
  • config/certs/loggregator/client.key (from loggregator_client.key.erb)
  • config/certs/uaa/ca.crt (from uaa_ca.crt.erb)
  • config/route_emitter.json (from route_emitter.json.erb)

Packages

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