diff options
author | Gary Wu <gary.wu@futurewei.com> | 2019-06-21 16:16:18 -0700 |
---|---|---|
committer | Gary Wu <gary.wu@futurewei.com> | 2019-06-21 16:45:58 -0700 |
commit | 9bb778b5b90235e2136f75dcc43b6c9cb0266572 (patch) | |
tree | 142dddd26e43f4f76ccb036290f418f7c55e1fbe /deployment/heat/onap-rke/onap-oom.yaml | |
parent | 17797b454abdffc0815f919f556c93bf7339288d (diff) |
Make /dockerdata-nfs a ZFS volume with compression
Issue-ID: INT-1117
Signed-off-by: Gary Wu <gary.wu@futurewei.com>
Change-Id: I2b5cdb332702a3599b2faa4d180f68decb7a199b
Diffstat (limited to 'deployment/heat/onap-rke/onap-oom.yaml')
-rw-r--r-- | deployment/heat/onap-rke/onap-oom.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deployment/heat/onap-rke/onap-oom.yaml b/deployment/heat/onap-rke/onap-oom.yaml index 075ed66d2..f3f82ef61 100644 --- a/deployment/heat/onap-rke/onap-oom.yaml +++ b/deployment/heat/onap-rke/onap-oom.yaml @@ -198,6 +198,17 @@ resources: properties: floating_network_id: { get_param: public_net_id } port_id: { get_resource: nfs_private_port } + nfs_volume: + type: OS::Cinder::Volume + properties: + size: 200 + + nfs_volume_att: + type: OS::Cinder::VolumeAttachment + properties: + instance_uuid: { get_resource: nfs_vm } + volume_id: { get_resource: nfs_volume } + nfs_vm: type: OS::Nova::Server properties: @@ -214,6 +225,7 @@ resources: template: get_file: nfs_vm_entrypoint.sh params: + __nfs_volume_id__: { get_resource: nfs_volume } __docker_proxy__: { get_param: docker_proxy } __apt_proxy__: { get_param: apt_proxy } __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] } |