blob: 4ea65b528754e8589fd32f38295c399b50fd203c [file] [log] [blame]
Andrey Shestakov891b03e2018-07-31 16:03:48 +03001parameters:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02002 _param:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02003 kubernetes_control_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +02004 salt_control_cluster_node_cloud_init_kubernetes_control:
5 user_data:
6 write_files:
7 - content: |
8 ${salt:control:size:kubernetes.control:image_layout}
9 owner: root:root
10 path: /usr/share/growlvm/image-layout.yml
Andrey Shestakov891b03e2018-07-31 16:03:48 +030011 salt:
12 control:
13 size:
14 kubernetes.control:
15 cpu: 4
16 ram: 8192
17 disk_profile: small
18 net_profile: default
Vasyl Saienko55d31c32018-11-29 15:46:35 +020019 image_layout: ${_param:salt_control_size_image_layout_kubernetes_control}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030020 cluster:
21 internal:
22 domain: ${_param:cluster_domain}
23 engine: virt
24 node:
25 ctl01:
26 name: ${_param:kubernetes_control_node01_hostname}
27 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
28 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020029 backend: ${_param:kubernetes_control_backend_image}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030030 size: kubernetes.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020031 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030032 ctl02:
33 name: ${_param:kubernetes_control_node02_hostname}
34 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
35 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020036 backend: ${_param:kubernetes_control_backend_image}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030037 size: kubernetes.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020038 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030039 ctl03:
40 name: ${_param:kubernetes_control_node03_hostname}
41 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
42 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020043 backend: ${_param:kubernetes_control_backend_image}
Andrey Shestakov891b03e2018-07-31 16:03:48 +030044 size: kubernetes.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020045 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control}