vsphere_cpi job from bosh-vsphere-cpi/78
Github source:
fb64b591
or
master branch
Properties¶
agent
¶
blobstore
¶
access_key_id
¶AWS access_key_id for agent used by s3 blobstore plugin
address
¶Address for agent to connect to blobstore server used by dav blobstore plugin
host
¶Host of agent blobstore server used by s3 blobstore plugin
s3_force_path_style
¶Whether the agent blobstore plugin will always use path style for bucket access
s3_multipart_threshold
¶Agent blobstore threshold for multipart uploads
s3_port
¶Port of agent blobstore server used by s3 blobstore plugin
s3_region
¶AWS region used by s3 blobstore plugin
s3_signature_version
¶Signature version used to connect to an s3 blobstore
secret_access_key
¶AWS secret_access_key for agent used by s3 blobstore plugin
ssl_verify_peer
¶Whether the agent blobstore plugin should verify its peer when using SSL
use_ssl
¶Whether the agent blobstore plugin should use SSL to connect to the blobstore server
mbus
¶Agent mbus
nats
¶
address
¶Address of the nats server
blobstore
¶
access_key_id
¶AWS access_key_id used by s3 blobstore plugin
address
¶Address of blobstore server used by dav blobstore plugin
agent
¶
password
¶Password agent uses to connect to blobstore used by dav blobstore plugin
user
¶Username agent uses to connect to blobstore used by dav blobstore plugin
bucket_name
¶AWS S3 Bucket used by s3 blobstore plugin
host
¶Host of blobstore server used by s3 blobstore plugin
path
¶local blobstore path
port
¶Port of blobstore server used by dav blobstore plugin
- Default
25250
provider
¶Provider of the blobstore used by director and agent (dav|local|s3)
- Default
dav
s3_force_path_style
¶Whether s3 blobstore plugin will always use path style for bucket access
- Default
false
s3_multipart_threshold
¶s3 blobstore threshold for multipart uploads
s3_port
¶Port of blobstore server used by s3 blobstore plugin
- Default
443
s3_region
¶AWS region used by s3 blobstore plugin
s3_signature_version
¶Signature version used to connect to an s3 blobstore
secret_access_key
¶AWS secret_access_key used by s3 blobstore plugin
ssl_verify_peer
¶Whether the s3 blobstore plugin should verify its peer when using SSL
use_ssl
¶Whether the s3 blobstore plugin should use SSL to connect to the blobstore server
- Default
true
env
¶
http_proxy
¶Http proxy to connect to cloud API’s
https_proxy
¶Https proxy to connect to cloud API’s
no_proxy
¶No Proxy environment variable
nats
¶
address
¶Address of the nats server
password
¶Password to connect to nats with
port
¶Port that the nats server listens on
- Default
4222
user
¶Username to connect to nats with
- Default
nats
ntp
¶
List of ntp server IPs. pool.ntp.org attempts to return IPs closest to your location, but you can still specify if needed.
- Default
- 0.pool.ntp.org - 1.pool.ntp.org
vcenter
¶
address
¶Address of vCenter server used by vsphere cpi if not set by
vcenter.host
connection_options
¶
ca_cert
¶All required custom CA certificates
- Example
'-----BEGIN CERTIFICATE----- MII... -----END CERTIFICATE-----'
datacenters
¶Datacenters in vCenter to use (value is an array of Hashes representing datacenters and clusters, See director.yml.erb.erb)
default_disk_type
¶backing for ephemeral and persistent disks unless overridden by
disk_pools.cloud_properties.type
; can bethin
orpreallocated
- Default
preallocated
enable_auto_anti_affinity_drs_rules
¶Creates DRS rule to place VMs on separate hosts.
- Default
false
enable_human_readable_name
¶Enables human readable names for BOSH VMs.
- Default
false
host
¶Address of vCenter server used by vsphere cpi
http_logging
¶Enables HTTP level logging. Each HTTP request to vcenter will be logged
- Default
false
nsx
¶
address
¶Address of the NSX manager
ca_cert
¶All required custom CA certificates
- Example
'-----BEGIN CERTIFICATE----- MII... -----END CERTIFICATE-----'
password
¶Password to connect to NSX manager
user
¶User to connect to NSX manager
nsxt
¶
auth_certificate
¶Certificate used for certificate-based authentication. Certificate-based authentication takes precedence over username/password if both specified
auth_private_key
¶Private key file used for certificate-based authentication.
ca_cert
¶All required custom CA certificates to connect to NSX-T manager
- Example
'-----BEGIN CERTIFICATE----- MII... -----END CERTIFICATE-----'
default_vif_type
¶Default vif_type for logical port attachment. Supported types: PARENT.
host
¶Host of the NSX-T manager
password
¶Password to connect to NSX-T manager
policy_api_migration_mode
¶This option requires
use_policy_api
to be set totrue
. When enabled, the CPI attempts to associate VMs in both the Policy API and the Manager API. The VM is associated with groups and server pools in the Policy API, and with NSGroups and server pools in the Manager API. It will return an error if the Manager API objects do not exist, but not if the Policy API objects do not exist. This option is only intended to be used in conjunction with scripts to help migrate NSX-T entities from the Manager API to the Policy API.
- Default
false
remote_auth
¶Set to true if NSX-T manager is using VMware Identity Manager
- Default
false
use_policy_api
¶Use NSX-T Policy API rather than Management Plane API
- Default
false
username
¶Username to connect to NSX-T manager
password
¶Password to connect to vCenter server used by vspher cpi
upgrade_hw_version
¶Upgrades virtual machines to latest virtual hardware version supported on the ESXi host.
- Default
false
user
¶User to connect to vCenter server used by vsphere cpi
vm_storage_policy_name
¶Name of the storage Policy which is applied to a VM and its ephemeral disk.
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/vsphere_cpi/
directory
(learn more).
bin/cpi
(fromcpi.erb
)config/cacert.pem
(fromcacert.pem.erb
)config/cpi.json
(fromcpi.json.erb
)config/nsx_cacert.pem
(fromnsx_cacert.pem.erb
)config/nsxt_cacert.pem
(fromnsxt_cacert.pem.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.