Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 1 | parameters: |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 2 | _param: |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 3 | kubernetes_control_backend_image: ${_param:salt_control_xenial_image_backend} |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 4 | 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 Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 11 | salt: |
| 12 | control: |
| 13 | size: |
| 14 | kubernetes.control: |
| 15 | cpu: 4 |
| 16 | ram: 8192 |
| 17 | disk_profile: small |
| 18 | net_profile: default |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 19 | image_layout: ${_param:salt_control_size_image_layout_kubernetes_control} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 20 | 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 Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 29 | backend: ${_param:kubernetes_control_backend_image} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 30 | size: kubernetes.control |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 31 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control} |
Vladimir Khlyunev | 078bb2e | 2021-09-15 14:16:47 +0400 | [diff] [blame^] | 32 | cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 33 | ctl02: |
| 34 | name: ${_param:kubernetes_control_node02_hostname} |
| 35 | provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain} |
| 36 | image: ${_param:salt_control_xenial_image} |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 37 | backend: ${_param:kubernetes_control_backend_image} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 38 | size: kubernetes.control |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 39 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control} |
Vladimir Khlyunev | 078bb2e | 2021-09-15 14:16:47 +0400 | [diff] [blame^] | 40 | cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 41 | ctl03: |
| 42 | name: ${_param:kubernetes_control_node03_hostname} |
| 43 | provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain} |
| 44 | image: ${_param:salt_control_xenial_image} |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 45 | backend: ${_param:kubernetes_control_backend_image} |
Andrey Shestakov | 891b03e | 2018-07-31 16:03:48 +0300 | [diff] [blame] | 46 | size: kubernetes.control |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 47 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_kubernetes_control} |
Vladimir Khlyunev | 078bb2e | 2021-09-15 14:16:47 +0400 | [diff] [blame^] | 48 | cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode} |