forked from cloudfoundry/docs-bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vcloud-cpi.html.md.erb
63 lines (47 loc) · 1.3 KB
/
vcloud-cpi.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: vCloud CPI
---
This topic describes cloud properties for different resources created by the vCloud CPI.
## <a id='networks'></a> Networks
Schema for `cloud_properties` section used by manual network subnet:
* **name** [String, required]: Name of vApp network in which instance will be created. Example: `VPC_BOSH`.
Example of manual network:
```yaml
networks:
- name: default
type: manual
subnets:
- range: 10.10.0.0/24
gateway: 10.10.0.1
cloud_properties:
name: VPC_BOSH
```
vCloud CPI does not support dynamic or vip networks.
---
## <a id='resource-pools'></a> Resource Pools
Schema for `cloud_properties` section:
* **cpu** [Integer, required]: Number of CPUs. Example: `1`.
* **ram** [Integer, required]: RAM in megabytes. Example: `1024`.
* **disk** [Integer, required]: Ephemeral disk size in megabytes. Example: `10240`
Example of a VM with 1 CPU, 1GB RAM, and 10GB ephemeral disk:
```yaml
resource_pools:
- name: default
network: default
stemcell:
name: bosh-vcloud-esxi-ubuntu-trusty-go_agent
version: latest
cloud_properties:
cpu: 2
ram: 1_024
disk: 10_240
```
---
## <a id='disk-pools'></a> Disk Pools
Currently the CPI does not support any cloud properties for disks.
Example of 10GB disk:
```yaml
disk_pools:
- name: default
disk_size: 10_240
```