summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack
diff options
context:
space:
mode:
authorTlacenka <tlacencin@gmail.com>2017-08-17 13:48:20 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-08-17 13:48:20 +0200
commit6a528d5803619f93c734c23be44a2021f1d35ee9 (patch)
tree00d2fc09f5ba5430981d98e103d178ecc2cdc11e /roles/openstack-stack
parent1210754f3620c1121665cb49b71d0cef70dc16d1 (diff)
downloadopenshift-6a528d5803619f93c734c23be44a2021f1d35ee9.tar.gz
openshift-6a528d5803619f93c734c23be44a2021f1d35ee9.tar.bz2
openshift-6a528d5803619f93c734c23be44a2021f1d35ee9.tar.xz
openshift-6a528d5803619f93c734c23be44a2021f1d35ee9.zip
Configure different Docker volume sizes for different roles (#644)
* README, all.yml, stack_params.yaml, openstack-stack: added docker volume size customisation - app_volume_size changed to node_volume_size (it is node everywhere else) * all.yml, stack_params.yaml,openstack-stack: added customisation for lb, etcd, dns * README: updated * README: updated info about ephemeral volumes
Diffstat (limited to 'roles/openstack-stack')
-rw-r--r--roles/openstack-stack/defaults/main.yml3
-rw-r--r--roles/openstack-stack/templates/heat_stack.yaml.j24
2 files changed, 4 insertions, 3 deletions
diff --git a/roles/openstack-stack/defaults/main.yml b/roles/openstack-stack/defaults/main.yml
index c8529612e..fbca0bdf6 100644
--- a/roles/openstack-stack/defaults/main.yml
+++ b/roles/openstack-stack/defaults/main.yml
@@ -1,5 +1,4 @@
---
-dns_volume_size: 1
ssh_ingress_cidr: 0.0.0.0/0
node_ingress_cidr: 0.0.0.0/0
master_ingress_cidr: 0.0.0.0/0
@@ -12,5 +11,7 @@ num_dns: 1
num_infra: 1
nodes_to_remove: []
etcd_volume_size: 2
+dns_volume_size: 1
+lb_volume_size: 5
use_bastion: False
ui_ssh_tunnel: False
diff --git a/roles/openstack-stack/templates/heat_stack.yaml.j2 b/roles/openstack-stack/templates/heat_stack.yaml.j2
index 3623035c6..c0da4c184 100644
--- a/roles/openstack-stack/templates/heat_stack.yaml.j2
+++ b/roles/openstack-stack/templates/heat_stack.yaml.j2
@@ -550,7 +550,7 @@ resources:
template: openshift-ansible-cluster_id-net
params:
cluster_id: {{ stack_name }}
- volume_size: 5
+ volume_size: {{ lb_volume_size }}
depends_on:
- interface
{% endif %}
@@ -658,7 +658,7 @@ resources:
template: openshift-ansible-cluster_id-net
params:
cluster_id: {{ stack_name }}
- volume_size: {{ app_volume_size }}
+ volume_size: {{ node_volume_size }}
depends_on:
- interface