Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.repo.ubuntu |
Richard Felkl | 0425002 | 2017-10-20 13:55:43 +0200 | [diff] [blame] | 3 | - system.linux.system.repo.mcp.salt |
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 |
| 9 | - system.reclass.storage.salt |
| 10 | - system.reclass.storage.system.kubernetes_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 11 | - cluster.k8s-ha-calico-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 12 | parameters: |
| 13 | _param: |
| 14 | salt_master_base_environment: prd |
| 15 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 16 | reclass_data_revision: master |
| 17 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 18 | single_address: ${_param:infra_config_address} |
| 19 | linux_system_codename: xenial |
| 20 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
| 21 | salt_master_host: 127.0.0.1 |
| 22 | salt: |
| 23 | syndic: |
| 24 | enabled: true |
| 25 | master: |
Adam Tengler | b05a019 | 2017-07-25 12:07:15 +0000 | [diff] [blame] | 26 | host: ${_param:salt_syndic_master_address} |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 27 | master: |
| 28 | reactor: |
| 29 | reclass/minion/classify: |
| 30 | - salt://reclass/reactor/node_register.sls |
| 31 | reclass: |
| 32 | storage: |
| 33 | class_mapping: |
| 34 | common_node: |
| 35 | expression: all |
| 36 | node_param: |
| 37 | single_address: |
| 38 | value_template: <<node_control_ip>> |
| 39 | linux_system_codename: |
| 40 | value_template: <<node_os>> |
| 41 | salt_master_host: |
| 42 | value_template: <<node_master_ip>> |
| 43 | infra_config: |
Adam Tengler | 500745f | 2017-07-27 15:51:10 +0000 | [diff] [blame] | 44 | expression: |
| 45 | - <<node_hostname>>__startswith__cfg |
| 46 | - <<node_cluster>>__equals__k8s_ha_calico_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 47 | cluster_param: |
| 48 | infra_config_address: |
| 49 | value_template: <<node_control_ip>> |
| 50 | infra_config_deploy_address: |
| 51 | value_template: <<node_deploy_ip>> |
| 52 | cluster_domain: |
| 53 | value_template: <<node_domain>> |
| 54 | kubernetes_control01: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 55 | expression: |
| 56 | - <<node_hostname>>__equals__ctl01 |
| 57 | - <<node_cluster>>__equals__k8s_ha_calico_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 58 | cluster_param: |
| 59 | kubernetes_control_node01_address: |
| 60 | value_template: <<node_control_ip>> |
| 61 | kubernetes_control02: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 62 | expression: |
| 63 | - <<node_hostname>>__equals__ctl02 |
| 64 | - <<node_cluster>>__equals__k8s_ha_calico_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 65 | cluster_param: |
| 66 | kubernetes_control_node02_address: |
| 67 | value_template: <<node_control_ip>> |
| 68 | kubernetes_control03: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 69 | expression: |
| 70 | - <<node_hostname>>__equals__ctl03 |
| 71 | - <<node_cluster>>__equals__k8s_ha_calico_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 72 | cluster_param: |
| 73 | kubernetes_control_node03_address: |
| 74 | value_template: <<node_control_ip>> |
| 75 | kubernetes_compute: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 76 | expression: |
| 77 | - <<node_hostname>>__startswith__cmp |
| 78 | - <<node_cluster>>__equals__k8s_ha_calico_syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 79 | node_class: |
| 80 | value_template: |
| 81 | - cluster.<<node_cluster>>.kubernetes.compute |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 82 | |