Allow to deploy kubernetes with k0s
Related-Prod: PRODX-3456
Change-Id: I82c489a228c1cd137a6b679d8e764a61ca60e5c6
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index d3949b6..afc0d85 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -327,6 +327,9 @@
The size of loop device for advanced computes to configure LVM on, in gigabytes
type: number
default: 0
+ kubernetes_installer:
+ type: string
+ default: "ucp"
conditions:
aio_deploy:
@@ -405,6 +408,7 @@
docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
docker_default_address_pool: { get_param: docker_default_address_pool }
node_type: "ucp"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: ucp_flavor }
@@ -431,6 +435,7 @@
properties:
metadata: { get_param: master_metadata}
node_type: "master"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: masters_flavor }
@@ -461,6 +466,7 @@
properties:
metadata: { get_param: worker_metadata}
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: workers_flavor }
@@ -509,6 +515,7 @@
properties:
metadata: { get_param: cmp_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: cmps_flavor }
@@ -557,6 +564,7 @@
properties:
metadata: { get_param: acmp_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: acmps_flavor }
@@ -606,6 +614,7 @@
properties:
metadata: { get_param: gtw_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: gtws_flavor }
@@ -645,6 +654,7 @@
properties:
metadata: { get_param: lma_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: lmas_flavor }
@@ -684,6 +694,7 @@
properties:
metadata: { get_param: osd_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: osds_flavor }
@@ -730,6 +741,7 @@
properties:
metadata: { get_param: frr_metadata }
node_type: "frr"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: frrs_flavor }
@@ -777,6 +789,7 @@
properties:
metadata: { get_param: spare_metadata }
node_type: "spare"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: spares_flavor }
@@ -823,6 +836,7 @@
properties:
metadata: { get_param: ntw_metadata }
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: ntws_flavor }
@@ -869,6 +883,7 @@
properties:
metadata: { get_param: vbmc_metadata}
node_type: "worker"
+ kubernetes_installer: { get_param: kubernetes_installer }
key_name: { get_attr: [keypair_name, value] }
image: { get_param: image }
flavor: { get_param: vbmcs_flavor }