summaryrefslogtreecommitdiffstats
path: root/ci/genK8Bundle.py
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-12-23 12:47:49 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-12-23 12:51:49 -0600
commit3470a4a0d81047d9d65a4b1e1e3b18e47865d4b6 (patch)
tree1744fd06855748c57a543b21188b784bebb8f386 /ci/genK8Bundle.py
parentf2fee53204aa7f3f8fe532b0394b60300a7f96f6 (diff)
modified to add load balancer kubernetes.
Change-Id: I87218dd9717c386db1ea721821d0d0e1bf4a08f9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/genK8Bundle.py')
-rw-r--r--ci/genK8Bundle.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/genK8Bundle.py b/ci/genK8Bundle.py
index 439d52f9..cfbb6ea5 100644
--- a/ci/genK8Bundle.py
+++ b/ci/genK8Bundle.py
@@ -162,10 +162,14 @@ except ValueError as err:
if 'dpdk' in features:
config['os']['network']['dpdk'] = True
+if 'lb' in features:
+ config['os']['kubernetes']['loadbalancer'] = True
# Set beta option from extra
if 'hugepages' in extra:
config['os']['beta']['huge_pages'] = True
+if 'lb' in extra:
+ config['os']['kubernetes']['loadbalancer'] = True
if 'mitaka' in extra:
config['os']['release'] = 'mitaka'
if 'xenial' in extra: