Skip to content

nats job from bosh/265.11.0

Github source: 948f37b or master branch

Properties

nats

allow_legacy_agents

Flag for allowing legacy agents

Default
true

auth_timeout

Timeout (in seconds) for clients to send auth credentials

Default
30

listen_address

IP address nats mbus listens on

Default
0.0.0.0

password

Password clients must use to access nats mbus

ping_interval

Time interval (in seconds) pings from server

Default
5

ping_max_outstanding

Maximum number of pings before declaring a client unresponsive

Default
2

port

TCP port nats mbus listens on

Default
4222

tls

ca

CA cert used by NATS server to verify clients certificates (For Mutual TLS Connections)

server
certificate

Certificate used by the NATS server to serve TLS connections. The Common-Name for the certificate should be “default.nats.bosh-internal”

private_key

Private Key used by the NATS server to serve TLS connections

timeout

Timeout (in seconds) for TLS handshake

Default
30

user

Username clients must use to access nats mbus

Templates

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

  • bin/nats_ctl (from nats_ctl.erb)
  • config/nats.cfg (from nats.cfg.erb)
  • config/nats_client_ca.pem (from nats_client_ca.pem.erb)
  • config/nats_server_certificate.pem (from nats_server_certificate.pem.erb)
  • config/nats_server_private_key (from nats_server_private_key.erb)

Packages

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