summaryrefslogtreecommitdiffstats
path: root/roles/kuryr/templates
diff options
context:
space:
mode:
authorLuis Tomas Bolivar <ltomasbo@redhat.com>2017-11-06 16:28:49 +0100
committerLuis Tomas Bolivar <ltomasbo@redhat.com>2017-11-07 15:29:49 +0100
commitd6fa97f7c333b90034d57e780bee3fdbc57acef7 (patch)
tree209a29a7427e265514e8d80f2ce65838c5816670 /roles/kuryr/templates
parent5efcf4a2f7e9c2f21c6f9f86dc08f12fd5f56290 (diff)
downloadopenshift-d6fa97f7c333b90034d57e780bee3fdbc57acef7.tar.gz
openshift-d6fa97f7c333b90034d57e780bee3fdbc57acef7.tar.bz2
openshift-d6fa97f7c333b90034d57e780bee3fdbc57acef7.tar.xz
openshift-d6fa97f7c333b90034d57e780bee3fdbc57acef7.zip
Initial Kuryr Ports Pool Support
This commits enables the ports pool driver when deploying kuryr networking on top of OpenShift in containers. It also exposes some configuration options such as the maximum and minimum pool sizes, as well as the bulk subports creation size and the time between pools update actions.
Diffstat (limited to 'roles/kuryr/templates')
-rw-r--r--roles/kuryr/templates/configmap.yaml.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/kuryr/templates/configmap.yaml.j2 b/roles/kuryr/templates/configmap.yaml.j2
index e874d6c25..6bf6c1db2 100644
--- a/roles/kuryr/templates/configmap.yaml.j2
+++ b/roles/kuryr/templates/configmap.yaml.j2
@@ -161,6 +161,14 @@ data:
# The driver that provides VIFs for Kubernetes Pods. (string value)
pod_vif_driver = nested-vlan
+ # The driver that manages VIFs pools for Kubernetes Pods (string value)
+ vif_pool_driver = {{ kuryr_openstack_enable_pools | default(False) | ternary('nested', 'noop') }}
+
+ [vif_pool]
+ ports_pool_max = {{ kuryr_openstack_pool_max | default(0) }}
+ ports_pool_min = {{ kuryr_openstack_pool_min | default(1) }}
+ ports_pool_batch = {{ kuryr_openstack_pool_batch | default(5) }}
+ ports_pool_update_frequency = {{ kuryr_openstack_pool_update_frequency | default(20) }}
[neutron]
# Configuration options for OpenStack Neutron