Skip to content

nsync job from cf/274

Github source: 34b6d5a2 or master branch

Properties

bpm

enabled

Enable Bosh Process Manager

Default
false

capi

nsync

bbs
api_location

Address to the BBS Server

Default
bbs.service.cf.internal:8889
ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_key

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

require_ssl

enable ssl for all communication with the bbs

Default
true
bulker
enabled

Run the Nsync bulker process. Set to false if cc.diego.temporary_local_sync is enabled

Default
true
bulker_debug_addr

address at which to serve debug info

Default
127.0.0.1:17007
cc
base_url

base URL of the cloud controller

basic_auth_password

basic auth password for CC bulk API

basic_auth_username

basic auth username for CC bulk API

Default
internal_user
bulk_batch_size

number of apps to fetch at once from bulk API

Default
500
external_port

External Cloud Controller port

Default
9022
fetch_timeout_in_seconds

How long to wait for completion of requests to CC in seconds.

Default
30
polling_interval_in_seconds

interval at which to poll bulk API in seconds

Default
30
consul_agent_port

local consul agent’s port

Default
8500
diego_privileged_containers

Whether or not to use privileged containers for buildpack based LRPs and tasks. Containers with a docker-image-based rootfs will continue to always be unprivileged and cannot be changed.

Default
false
dropsonde_port

local metron agent’s port

Default
3457
file_server_url

URL of file server

Default
http://file-server.service.cf.internal:8080
lifecycle_bundles

List of lifecycle bundles arguments for different stacks in form ‘lifecycle-name:path/to/bundle’

Default
  - buildpack/cflinuxfs2:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz
  - buildpack/windows2012R2:windows_app_lifecycle/windows_app_lifecycle.tgz
  - buildpack/windows2016:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz
  - docker:docker_app_lifecycle/docker_app_lifecycle.tgz
listen_addr

Address from which nsync serves requests

Default
0.0.0.0:8787
listener_debug_addr

address at which to serve debug info

Default
127.0.0.1:17006
log_level

Log level

Default
info

diego

ssl

skip_cert_verify

when connecting over https, ignore bad ssl certificates

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/nsync/ directory (learn more).

  • bin/nsync_bulker_as_vcap (from nsync_bulker_as_vcap.erb)
  • bin/nsync_bulker_ctl (from nsync_bulker_ctl.erb)
  • bin/nsync_listener_as_vcap (from nsync_listener_as_vcap.erb)
  • bin/nsync_listener_ctl (from nsync_listener_ctl.erb)
  • bin/pre-start (from pre-start.sh.erb)
  • config/bpm.yml (from bpm.yml.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/nsync_bulker_config.json (from nsync_bulker_config.json.erb)
  • config/nsync_listener_config.json (from nsync_listener_config.json.erb)

Packages

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