Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.repo.ubuntu |
| 3 | - system.openssh.client.lab |
| 4 | - system.salt.master.pkg |
| 5 | - system.salt.minion.ca.salt_master |
| 6 | - system.salt.master.api |
| 7 | - system.salt.minion.cert.k8s_server |
| 8 | - system.mysql.client |
| 9 | - system.mysql.client.database.grafana |
| 10 | - system.reclass.storage.salt |
| 11 | - system.reclass.storage.system.kubernetes_control_cluster |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 12 | - cluster.sl_k8s_calico.infra |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [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} |
| 20 | linux_system_codename: xenial |
| 21 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 22 | salt_master_host: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 23 | reclass: |
| 24 | storage: |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 25 | node: |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 26 | kubernetes_compute_node01: |
| 27 | name: ${_param:kubernetes_compute_node01_hostname} |
| 28 | domain: ${_param:cluster_domain} |
| 29 | classes: |
| 30 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 31 | params: |
| 32 | salt_master_host: ${_param:infra_config_deploy_address} |
| 33 | linux_system_codename: xenial |
| 34 | single_address: ${_param:kubernetes_compute_node01_address} |
| 35 | kubernetes_compute_node02: |
| 36 | name: ${_param:kubernetes_compute_node02_hostname} |
| 37 | domain: ${_param:cluster_domain} |
| 38 | classes: |
| 39 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 40 | params: |
| 41 | salt_master_host: ${_param:infra_config_deploy_address} |
| 42 | linux_system_codename: xenial |
| 43 | single_address: ${_param:kubernetes_compute_node02_address} |
| 44 | prx_node: |
| 45 | name: ${_param:kubernetes_proxy_node01_hostname} |
| 46 | domain: ${_param:cluster_domain} |
| 47 | classes: |
| 48 | - cluster.${_param:cluster_name}.stacklight.proxy |
| 49 | params: |
| 50 | salt_master_host: ${_param:infra_config_deploy_address} |
| 51 | linux_system_codename: xenial |
| 52 | single_address: ${_param:kubernetes_proxy_node01_address} |
| 53 | stacklight_node01: |
| 54 | name: ${_param:stacklight_node01_hostname} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 55 | domain: ${_param:cluster_domain} |
| 56 | classes: |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 57 | - service.galera.master.cluster |
| 58 | - system.docker.swarm.master |
| 59 | - cluster.${_param:cluster_name}.stacklight.client |
| 60 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 61 | params: |
| 62 | salt_master_host: ${_param:infra_config_deploy_address} |
| 63 | linux_system_codename: xenial |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 64 | single_address: ${_param:stacklight_node01_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 65 | keepalived_vip_priority: 100 |
| 66 | mysql_cluster_role: master |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 67 | stacklight_node02: |
| 68 | name: ${_param:stacklight_node02_hostname} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 69 | domain: ${_param:cluster_domain} |
| 70 | classes: |
| 71 | - service.galera.slave.cluster |
| 72 | - system.docker.swarm.manager |
| 73 | - cluster.${_param:cluster_name}.stacklight.server |
| 74 | params: |
| 75 | salt_master_host: ${_param:infra_config_deploy_address} |
| 76 | linux_system_codename: xenial |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 77 | single_address: ${_param:stacklight_node02_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 78 | keepalived_vip_priority: 101 |
| 79 | mysql_cluster_role: slave |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 80 | stacklight_node03: |
| 81 | name: ${_param:stacklight_node03_hostname} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 82 | domain: ${_param:cluster_domain} |
| 83 | classes: |
| 84 | - service.galera.slave.cluster |
| 85 | - system.docker.swarm.manager |
| 86 | - cluster.${_param:cluster_name}.stacklight.server |
| 87 | params: |
| 88 | salt_master_host: ${_param:infra_config_deploy_address} |
| 89 | linux_system_codename: xenial |
Martin Polreich | e048a83 | 2017-08-16 14:33:46 +0200 | [diff] [blame^] | 90 | single_address: ${_param:stacklight_node03_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 91 | keepalived_vip_priority: 102 |
| 92 | mysql_cluster_role: slave |