Skip to content

stager job from capi/1.28.0

Github source: 50f3940f or master branch

Properties

capi

stager

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
cc
basic_auth_password

Basic auth password for CC internal API

basic_auth_username

Basic auth username for CC internal API

Default
internal_user
external_port

External port to access the Cloud Controller

Default
9022
internal_service_hostname

Internal CC host name

Default
cloud-controller-ng.service.cf.internal
cc_uploader_url

URL of cc uploader

Default
http://cc-uploader.service.cf.internal:9090
consul_agent_port

local consul agent’s port

Default
8500
debug_addr

address at which to serve debug info

Default
127.0.0.1:17011
diego_privileged_containers

Whether or not to use privileged containers for staging tasks.

Default
false
docker_staging_stack

stack to use for staging Docker applications

Default
cflinuxfs2
dropsonde_port

local metron agent’s port

Default
3457
file_server_url

URL of file server

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

An array of insecure Docker registries in the form of :PORT

Default
[]
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
  - docker:docker_app_lifecycle/docker_app_lifecycle.tgz
listen_addr

Address from which the Stager serves requests

Default
0.0.0.0:8888
log_level

Log level

Default
info
staging_task_callback_url

URL for staging task callbacks

Default
http://stager.service.cf.internal:8888

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

  • bin/stager_as_vcap (from stager_as_vcap.erb)
  • bin/stager_ctl (from stager_ctl.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/stager_config.json (from stager_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.