nats job from bosh/280.1.1
Github source:
42136d9165
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
(frombosh_nats_sync
)bin/post-start
(frompost-start
)bin/pre-start
(frompre-start
)config/bosh_nats_sync_config.yml
(frombosh_nats_sync_config.yml.erb
)config/bpm.yml
(frombpm.yml
)config/nats.cfg
(fromnats.cfg.erb
)config/nats_client_ca.pem
(fromnats_client_ca.pem.erb
)config/nats_director_client_certificate.pem
(fromnats_director_client_certificate.pem.erb
)config/nats_hm_client_certificate.pem
(fromnats_hm_client_certificate.pem.erb
)config/nats_server_certificate.pem
(fromnats_server_certificate.pem.erb
)config/nats_server_private_key
(fromnats_server_private_key.erb
)config/uaa.pem
(fromuaa.pem.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.