Docker integration on storage nodes

Allocate 10G LV for docker in the cgts_vg volume group if the
--kubernetes option is used with config_controller.

Story: 2002839
Task: 22778

Change-Id: Iabd08fc6da3a0fafd3005c2a49625ba477228ec5
Signed-off-by: Jack Ding <jack.ding@windriver.com>
This commit is contained in:
Kevin Smith 2018-06-12 15:53:49 -04:00 committed by Jack Ding
parent 9492b1f7ae
commit 5f6ba4f658
2 changed files with 18 additions and 0 deletions

View File

@ -25,6 +25,8 @@ include ::platform::mtce
include ::platform::sysinv
include ::platform::grub
include ::platform::collectd
include ::platform::filesystem::storage
include ::platform::docker
include ::platform::ceph
include ::platform::ceph::monitor

View File

@ -189,6 +189,22 @@ class platform::filesystem::img_conversions
}
class platform::filesystem::storage {
include ::platform::kubernetes::params
if $::platform::kubernetes::params::enabled {
class {'platform::filesystem::docker::params' :
lv_size => 10
} ->
class {'platform::filesystem::docker' :
}
Class['::platform::lvm::vg::cgts_vg'] -> Class['::platform::filesystem::docker']
}
}
class platform::filesystem::compute {
include ::platform::kubernetes::params