Create docker-lv in the automatically created ctgs-vg volume group
This commit creates docker-lv in the automatically created cgts-vg volume group on the worker nodes if kubernetes is configured. It also supports cgts-vg expansion. This commit also increases docker-lv size to 30G for all the hosts. Story: 2004520 Task: 28663 Depends-On: https://review.openstack.org/628053 Change-Id: I9b53421318883d0e951d64d0be91e146d14e5d7b Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
This commit is contained in:
@@ -223,7 +223,7 @@ class platform::filesystem::storage {
|
||||
|
||||
if $::platform::kubernetes::params::enabled {
|
||||
class {'platform::filesystem::docker::params' :
|
||||
lv_size => 10
|
||||
lv_size => 30
|
||||
}
|
||||
-> class {'platform::filesystem::docker' :
|
||||
}
|
||||
@@ -239,7 +239,7 @@ class platform::filesystem::compute {
|
||||
|
||||
if $::platform::kubernetes::params::enabled {
|
||||
class {'platform::filesystem::docker::params' :
|
||||
fs_use_all => true
|
||||
lv_size => 30
|
||||
}
|
||||
-> class {'platform::filesystem::docker' :
|
||||
}
|
||||
|
||||
@@ -114,12 +114,8 @@ class platform::lvm::controller::runtime {
|
||||
###############
|
||||
|
||||
class platform::lvm::compute::vgs {
|
||||
include ::platform::lvm::vg::cgts_vg
|
||||
include ::platform::lvm::vg::nova_local
|
||||
include ::platform::kubernetes::params
|
||||
|
||||
if $::platform::kubernetes::params::enabled {
|
||||
include ::platform::lvm::vg::cgts_vg
|
||||
}
|
||||
}
|
||||
|
||||
class platform::lvm::compute
|
||||
|
||||
Reference in New Issue
Block a user