Skip to content

cpi job from bosh-warden-cpi/16

Github source: b8c5e588 or master branch

Properties

cpi

actions

agent_env_service

Type of Agent Env Service to use, e.g. registry or file

Default
file
disks_dir

Directory where disks are stored

Default
/var/vcap/store/cpi/disks
guest_ephemeral_bind_mount_path

Path at which ephemeral disk is mounted inside VMs

Default
/var/vcap/data
guest_persistent_bind_mounts_dir

Directory with sub-directories at which persistent disks are mounted inside VMs

Default
/warden-cpi-dev
host_ephemeral_bind_mounts_dir

Directory with sub-directories at which ephemeral disks are mounted on the host

Default
/var/vcap/store/cpi/ephemeral_bind_mounts_dir
host_persistent_bind_mounts_dir

Directory with sub-directories at which persistent disks are mounted on the host

Default
/var/vcap/store/cpi/persistent_bind_mounts_dir
registry
host

Hostname of registry

Default
""
password

Password for registry

Default
""
port

Port of registry

Default
6301
username

Username for registry

Default
""
stemcells_dir

Directory where stemcells are stored

Default
/var/vcap/store/cpi/stemcells

agent

blobstore
options

Options for the blobstore used by deployed BOSH agents

Default
{}
provider

Provider type for the blobstore used by deployed BOSH agents (e.g. dav, s3)

Default
dav
mbus

Mbus URL used by deployed BOSH agents

Example
nats://nats:nats-password@10.254.50.4:4222
ntp

NTP configuration used by deployed BOSH agents

Default
[]

host_ip

IP address of the host that will be used by containers, must be the same as mbus IP

Example
10.254.50.4

warden

connect_address

Address warden client will use to connect (ip:port or sock path)

connect_network

Connection type warden client will use to connect (tcp or unix)

Templates

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

  • bin/cpi (from cpi.erb)
  • bin/cpi_ctl (from cpi_ctl.erb)
  • config/cpi.json (from cpi.json.erb)
  • config/sudoers (from sudoers)

Packages

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