Skip to content

cpi job from bosh-warden-cpi/12

Github source: 12e4f6dc or master branch

Properties

cpi

actions

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
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)
  • bin/micro_discover_ip (from micro_discover_ip)
  • 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.