Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 1 | classes: |
azvyagintsev | 2859f0e | 2018-06-11 17:45:47 +0300 | [diff] [blame] | 2 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame] | 3 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 4 | - system.openssh.client.lab |
| 5 | - system.salt.master.pkg |
| 6 | - system.salt.minion.ca.salt_master |
| 7 | - system.salt.master.api |
| 8 | - system.salt.minion.cert.k8s_server |
Oleh Hryhorov | 691ae59 | 2018-06-18 16:34:14 +0300 | [diff] [blame] | 9 | - system.salt.syndic.single |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 10 | - system.reclass.storage.salt |
| 11 | - system.reclass.storage.system.kubernetes_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 12 | - cluster.k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 13 | parameters: |
| 14 | _param: |
| 15 | salt_master_base_environment: prd |
| 16 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 17 | reclass_data_revision: master |
| 18 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 19 | single_address: ${_param:infra_config_address} |
Oleh Hryhorov | 691ae59 | 2018-06-18 16:34:14 +0300 | [diff] [blame] | 20 | deploy_address: ${_param:infra_config_deploy_address} |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 21 | linux_system_codename: xenial |
| 22 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
| 23 | salt_master_host: 127.0.0.1 |
| 24 | salt: |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 25 | master: |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 26 | worker_threads: 40 |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 27 | reactor: |
| 28 | reclass/minion/classify: |
| 29 | - salt://reclass/reactor/node_register.sls |
| 30 | reclass: |
| 31 | storage: |
| 32 | class_mapping: |
| 33 | common_node: |
| 34 | expression: all |
| 35 | node_param: |
| 36 | single_address: |
| 37 | value_template: <<node_control_ip>> |
| 38 | linux_system_codename: |
| 39 | value_template: <<node_os>> |
| 40 | salt_master_host: |
| 41 | value_template: <<node_master_ip>> |
Oleh Hryhorov | 691ae59 | 2018-06-18 16:34:14 +0300 | [diff] [blame] | 42 | deploy_address: |
| 43 | value_template: <<node_deploy_ip>> |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 44 | infra_config: |
Adam Tengler | 500745f | 2017-07-27 15:51:10 +0000 | [diff] [blame] | 45 | expression: |
| 46 | - <<node_hostname>>__startswith__cfg |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 47 | - <<node_cluster>>__equals__k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 48 | cluster_param: |
| 49 | infra_config_address: |
| 50 | value_template: <<node_control_ip>> |
| 51 | infra_config_deploy_address: |
| 52 | value_template: <<node_deploy_ip>> |
| 53 | cluster_domain: |
| 54 | value_template: <<node_domain>> |
| 55 | kubernetes_control01: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 56 | expression: |
| 57 | - <<node_hostname>>__equals__ctl01 |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 58 | - <<node_cluster>>__equals__k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 59 | cluster_param: |
| 60 | kubernetes_control_node01_address: |
| 61 | value_template: <<node_control_ip>> |
| 62 | kubernetes_control02: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 63 | expression: |
| 64 | - <<node_hostname>>__equals__ctl02 |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 65 | - <<node_cluster>>__equals__k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 66 | cluster_param: |
| 67 | kubernetes_control_node02_address: |
| 68 | value_template: <<node_control_ip>> |
| 69 | kubernetes_control03: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 70 | expression: |
| 71 | - <<node_hostname>>__equals__ctl03 |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 72 | - <<node_cluster>>__equals__k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 73 | cluster_param: |
| 74 | kubernetes_control_node03_address: |
| 75 | value_template: <<node_control_ip>> |
| 76 | kubernetes_compute: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 77 | expression: |
| 78 | - <<node_hostname>>__startswith__cmp |
Oleh Hryhorov | 3e99867 | 2018-01-09 10:27:17 +0200 | [diff] [blame] | 79 | - <<node_cluster>>__equals__k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 80 | node_class: |
| 81 | value_template: |
| 82 | - cluster.<<node_cluster>>.kubernetes.compute |
Oleh Hryhorov | 691ae59 | 2018-06-18 16:34:14 +0300 | [diff] [blame] | 83 | node_param: |
| 84 | deploy_address: |
| 85 | value_template: <<node_deploy_ip>> |