bosh-vsphere-cpi/23
You can find the source of this version on GitHub at cloudfoundry-incubator/bosh-vsphere-cpi-release. It was created based on the commit 3bc47764
.
Release Notes¶
New Features:
- Allow to specify datastores
key for VMs to limit CPIs placement decision for root and ephemeral disks
- Allow to specify datastores
key for persistent disks to limit CPIs placement decision
Improvements: - Increased number of file upload retries from 2 to 5 (typically used for env.iso management) - Improve readability of “no valid placement” errors - Tweaked persistent disk placement algorithm
Placement algorithm performs a weighted random sort on the available_datastores to improve disk load balancing. The sort multiplies each datastore’s free_space by a random float 0..1 then sorts in descending order. This means the largest datastores have the highest chance of being first, but adds a bit of randomization. After the sort, disks are placed into the first datastore that has enough space for that disk.
Dev:
- Use exec
to avoid sticky bash process around CPI command
Usage¶
You can reference this release in your deployment manifest from the releases
section:
- name: "bosh-vsphere-cpi" version: "23" url: "https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=23" sha1: "d305e118bf99aafffc7a6b842b2a938d0eede55e"
Or upload it to your director with the upload-release
command:
bosh upload-release --sha1 d305e118bf99aafffc7a6b842b2a938d0eede55e \ "https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=23"