Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 1 | classes: |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 2 | - system.linux.system.single |
| 3 | - system.linux.system.single.debian |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame^] | 4 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Tatyana Leontovich | c11c1b5 | 2018-01-26 13:58:39 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 6 | - system.openssh.client.lab |
| 7 | - system.salt.master.pkg |
| 8 | - system.salt.minion.ca.salt_master |
| 9 | - system.salt.master.api |
| 10 | - system.salt.minion.cert.k8s_server |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 11 | - system.mysql.client |
| 12 | - system.mysql.client.database.grafana |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 13 | - system.reclass.storage.salt |
| 14 | - system.reclass.storage.system.kubernetes_control_cluster |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 15 | - system.sphinx.server.doc.reclass |
Dmitry Kalashnik | 1085a99 | 2017-09-08 16:39:21 +0400 | [diff] [blame] | 16 | - cluster.virtual-mcp11-k8s-calico.stacklight.proxy |
| 17 | - cluster.virtual-mcp11-k8s-calico |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 18 | parameters: |
| 19 | _param: |
| 20 | salt_master_base_environment: prd |
Tomáš Kukrál | 8c25ac9 | 2017-04-27 22:46:12 +0200 | [diff] [blame] | 21 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 22 | reclass_data_revision: master |
| 23 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 24 | single_address: ${_param:infra_config_address} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 25 | deploy_address: ${_param:infra_config_deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 26 | linux_system_codename: xenial |
| 27 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 28 | salt_master_host: ${_param:infra_config_deploy_address} |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 29 | salt: |
| 30 | master: |
| 31 | reactor: |
| 32 | reclass/minion/classify: |
| 33 | - salt://reclass/reactor/node_register.sls |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 34 | reclass: |
| 35 | storage: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 36 | class_mapping: |
| 37 | common_node: |
| 38 | expression: all |
| 39 | node_param: |
| 40 | single_address: |
| 41 | value_template: <<node_control_ip>> |
| 42 | linux_system_codename: |
| 43 | value_template: <<node_os>> |
| 44 | salt_master_host: |
| 45 | value_template: <<node_master_ip>> |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 46 | deploy_address: |
| 47 | value_template: <<node_deploy_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 48 | infra_config: |
| 49 | expression: <<node_hostname>>__equals__cfg01 |
| 50 | cluster_param: |
| 51 | infra_config_address: |
| 52 | value_template: <<node_control_ip>> |
| 53 | infra_config_deploy_address: |
| 54 | value_template: <<node_deploy_ip>> |
Dmitry Kalashnik | 1085a99 | 2017-09-08 16:39:21 +0400 | [diff] [blame] | 55 | cluster_domain: |
| 56 | value_template: <<node_domain>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 57 | infra_proxy: |
| 58 | expression: <<node_hostname>>__startswith__prx |
| 59 | node_class: |
| 60 | value_template: |
| 61 | - cluster.<<node_cluster>>.stacklight.proxy |
| 62 | kubernetes_control01: |
| 63 | expression: <<node_hostname>>__equals__ctl01 |
| 64 | cluster_param: |
| 65 | kubernetes_control_node01_address: |
| 66 | value_template: <<node_control_ip>> |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 67 | kubernetes_control_node01_deploy_address: |
| 68 | value_template: <<node_deploy_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 69 | kubernetes_control02: |
| 70 | expression: <<node_hostname>>__equals__ctl02 |
| 71 | cluster_param: |
| 72 | kubernetes_control_node02_address: |
| 73 | value_template: <<node_control_ip>> |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 74 | kubernetes_control_node02_deploy_address: |
| 75 | value_template: <<node_deploy_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 76 | kubernetes_control03: |
| 77 | expression: <<node_hostname>>__equals__ctl03 |
| 78 | cluster_param: |
| 79 | kubernetes_control_node03_address: |
| 80 | value_template: <<node_control_ip>> |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 81 | kubernetes_control_node03_deploy_address: |
| 82 | value_template: <<node_deploy_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 83 | kubernetes_compute: |
| 84 | expression: <<node_hostname>>__startswith__cmp |
| 85 | node_class: |
| 86 | value_template: |
| 87 | - cluster.<<node_cluster>>.kubernetes.compute |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 88 | node_param: |
| 89 | deploy_address: |
| 90 | value_template: <<node_deploy_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 91 | stacklight_monitor01: |
| 92 | expression: <<node_hostname>>__equals__mon01 |
| 93 | cluster_param: |
| 94 | stacklight_node01_address: |
| 95 | value_template: <<node_control_ip>> |
| 96 | stacklight_monitor02: |
| 97 | expression: <<node_hostname>>__equals__mon02 |
| 98 | cluster_param: |
| 99 | stacklight_node02_address: |
| 100 | value_template: <<node_control_ip>> |
| 101 | stacklight_monitor03: |
| 102 | expression: <<node_hostname>>__equals__mon03 |
| 103 | cluster_param: |
| 104 | stacklight_node03_address: |
| 105 | value_template: <<node_control_ip>> |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 106 | node: |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 107 | prx_node: |
| 108 | name: ${_param:kubernetes_proxy_node01_hostname} |
| 109 | domain: ${_param:cluster_domain} |
| 110 | classes: |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 111 | - cluster.${_param:cluster_name}.stacklight.proxy |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 112 | params: |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 113 | salt_master_host: ${_param:infra_config_deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 114 | linux_system_codename: xenial |
| 115 | single_address: ${_param:kubernetes_proxy_node01_address} |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 116 | stacklight_node01: |
| 117 | name: ${_param:stacklight_node01_hostname} |
Tomáš Kukrál | 8c25ac9 | 2017-04-27 22:46:12 +0200 | [diff] [blame] | 118 | domain: ${_param:cluster_domain} |
| 119 | classes: |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 120 | - service.galera.master.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 121 | - system.docker.swarm.master |
| 122 | - cluster.${_param:cluster_name}.stacklight.client |
| 123 | - cluster.${_param:cluster_name}.stacklight.server |
Tomáš Kukrál | 8c25ac9 | 2017-04-27 22:46:12 +0200 | [diff] [blame] | 124 | params: |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 125 | salt_master_host: ${_param:infra_config_deploy_address} |
Tomáš Kukrál | 8c25ac9 | 2017-04-27 22:46:12 +0200 | [diff] [blame] | 126 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 127 | single_address: ${_param:stacklight_node01_address} |
Simon Pasquier | a3a92f6 | 2017-04-28 15:19:18 +0200 | [diff] [blame] | 128 | keepalived_vip_priority: 100 |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 129 | mysql_cluster_role: master |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 130 | stacklight_node02: |
| 131 | name: ${_param:stacklight_node02_hostname} |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 132 | domain: ${_param:cluster_domain} |
| 133 | classes: |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 134 | - service.galera.slave.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 135 | - system.docker.swarm.manager |
| 136 | - cluster.${_param:cluster_name}.stacklight.server |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 137 | params: |
| 138 | salt_master_host: ${_param:infra_config_deploy_address} |
| 139 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 140 | single_address: ${_param:stacklight_node02_address} |
Simon Pasquier | a3a92f6 | 2017-04-28 15:19:18 +0200 | [diff] [blame] | 141 | keepalived_vip_priority: 101 |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 142 | mysql_cluster_role: slave |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 143 | stacklight_node03: |
| 144 | name: ${_param:stacklight_node03_hostname} |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 145 | domain: ${_param:cluster_domain} |
| 146 | classes: |
Swann Croiset | 4e3e084 | 2017-05-04 16:49:57 +0200 | [diff] [blame] | 147 | - service.galera.slave.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 148 | - system.docker.swarm.manager |
| 149 | - cluster.${_param:cluster_name}.stacklight.server |
Simon Pasquier | a4e3825 | 2017-04-28 11:14:29 +0200 | [diff] [blame] | 150 | params: |
| 151 | salt_master_host: ${_param:infra_config_deploy_address} |
| 152 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 153 | single_address: ${_param:stacklight_node03_address} |
Simon Pasquier | a3a92f6 | 2017-04-28 15:19:18 +0200 | [diff] [blame] | 154 | keepalived_vip_priority: 102 |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame] | 155 | mysql_cluster_role: slave |
| 156 | kubernetes_compute_node01: |
| 157 | name: ${_param:kubernetes_compute_node01_hostname} |
| 158 | domain: ${_param:cluster_domain} |
| 159 | classes: |
| 160 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 161 | params: |
| 162 | salt_master_host: ${_param:infra_config_deploy_address} |
| 163 | linux_system_codename: xenial |
| 164 | single_address: ${_param:kubernetes_compute_node01_address} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 165 | deploy_address: ${_param:kubernetes_compute_node01_deploy_address} |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame] | 166 | kubernetes_compute_node02: |
| 167 | name: ${_param:kubernetes_compute_node02_hostname} |
| 168 | domain: ${_param:cluster_domain} |
| 169 | classes: |
| 170 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 171 | params: |
| 172 | salt_master_host: ${_param:infra_config_deploy_address} |
| 173 | linux_system_codename: xenial |
Dmitry Kalashnik | 1085a99 | 2017-09-08 16:39:21 +0400 | [diff] [blame] | 174 | single_address: ${_param:kubernetes_compute_node02_address} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 175 | deploy_address: ${_param:kubernetes_compute_node02_deploy_address} |