Skip to content

nats job from bosh/274.1.0

Github source: 037fd48dd or master branch

Properties

director

address

Address of the Bosh Director to connect to

port

Port of the Bosh Director to connect to

Default
25555

nats

auth_timeout

Timeout (in seconds) for clients to send auth credentials

Default
30

director_account

ca_cert

Certificate to verify UAA endpoint

Default
""
client_id

UAA client id to access Bosh Director

Default
""
client_secret

UAA client secret to access Bosh Director

Default
""
password

Password to access Bosh Director

Default
""
user

User to access Bosh Director

Default
""

enable_metrics_endpoint

Expose basic nats metrics on localhost:8222 endpoint.

Default
false

listen_address

IP address nats mbus listens on

Default
0.0.0.0

max_payload_mb

Maximum message size in megabytes

Default
1

password

Password clients must use to access nats mbus

ping_interval

Time interval (in seconds) pings from server

Default
5s

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)

director
certificate

Certificate for NATs mutual TLS client (Director client). The Common-Name for this certificate should be “default.director.bosh-internal”

health_monitor
certificate

Certificate for establishing mutual TLS with NATS server. The Common-Name for the certificate should be “default.hm.bosh-internal”

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

nats-sync

intervals

poll_user_sync

Interval (in seconds) to get the list of managed VMs from Bosh Director

Default
10

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/bosh_nats_sync (from bosh_nats_sync)
  • bin/post-deploy (from post-deploy)
  • bin/pre-start (from pre-start)
  • config/bosh_nats_sync_config.yml (from bosh_nats_sync_config.yml.erb)
  • config/bpm.yml (from bpm.yml)
  • config/nats.cfg (from nats.cfg.erb)
  • config/nats_client_ca.pem (from nats_client_ca.pem.erb)
  • config/nats_director_client_certificate.pem (from nats_director_client_certificate.pem.erb)
  • config/nats_hm_client_certificate.pem (from nats_hm_client_certificate.pem.erb)
  • config/nats_server_certificate.pem (from nats_server_certificate.pem.erb)
  • config/nats_server_private_key (from nats_server_private_key.erb)
  • config/uaa.pem (from uaa.pem.erb)

Packages

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