Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 2 | - system.docker.client |
| 3 | - system.docker.host |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 4 | - system.linux.system.repo.ubuntu |
Richard Felkl | 0425002 | 2017-10-20 13:55:43 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.salt |
| 6 | - system.linux.system.repo.docker |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 7 | - system.openssh.client.lab |
| 8 | - system.salt.master.pkg |
| 9 | - system.salt.minion.ca.salt_master |
| 10 | - system.salt.master.api |
| 11 | - system.salt.minion.cert.k8s_server |
| 12 | - system.mysql.client |
| 13 | - system.mysql.client.database.grafana |
| 14 | - system.reclass.storage.salt |
| 15 | - system.reclass.storage.system.kubernetes_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 16 | - cluster.sl-k8s-calico.stacklight.proxy |
| 17 | - cluster.sl-k8s-calico |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 18 | parameters: |
| 19 | _param: |
| 20 | salt_master_base_environment: prd |
| 21 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 22 | reclass_data_revision: master |
| 23 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 24 | single_address: ${_param:infra_config_address} |
| 25 | linux_system_codename: xenial |
| 26 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 27 | salt_master_host: 127.0.0.1 |
| 28 | salt: |
| 29 | master: |
| 30 | reactor: |
| 31 | reclass/minion/classify: |
| 32 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 33 | reclass: |
| 34 | storage: |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 35 | class_mapping: |
| 36 | common_node: |
| 37 | expression: all |
| 38 | node_param: |
| 39 | single_address: |
| 40 | value_template: <<node_control_ip>> |
| 41 | linux_system_codename: |
| 42 | value_template: <<node_os>> |
| 43 | salt_master_host: |
| 44 | value_template: <<node_master_ip>> |
| 45 | infra_config: |
| 46 | expression: <<node_hostname>>__startswith__cfg |
| 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 | infra_proxy: |
| 55 | expression: <<node_hostname>>__startswith__prx |
| 56 | node_class: |
| 57 | value_template: |
| 58 | - cluster.<<node_cluster>>.stacklight.proxy |
| 59 | kubernetes_control01: |
| 60 | expression: <<node_hostname>>__equals__ctl01 |
| 61 | cluster_param: |
| 62 | kubernetes_control_node01_address: |
| 63 | value_template: <<node_control_ip>> |
| 64 | kubernetes_control02: |
| 65 | expression: <<node_hostname>>__equals__ctl02 |
| 66 | cluster_param: |
| 67 | kubernetes_control_node02_address: |
| 68 | value_template: <<node_control_ip>> |
| 69 | kubernetes_control03: |
| 70 | expression: <<node_hostname>>__equals__ctl03 |
| 71 | cluster_param: |
| 72 | kubernetes_control_node03_address: |
| 73 | value_template: <<node_control_ip>> |
| 74 | kubernetes_compute: |
| 75 | expression: <<node_hostname>>__startswith__cmp |
| 76 | node_class: |
| 77 | value_template: |
| 78 | - cluster.<<node_cluster>>.kubernetes.compute |
| 79 | stacklight_monitor01: |
| 80 | expression: <<node_hostname>>__equals__mon01 |
| 81 | cluster_param: |
| 82 | stacklight_monitor_node01_address: |
| 83 | value_template: <<node_control_ip>> |
| 84 | stacklight_monitor02: |
| 85 | expression: <<node_hostname>>__equals__mon02 |
| 86 | cluster_param: |
| 87 | stacklight_monitor_node02_address: |
| 88 | value_template: <<node_control_ip>> |
| 89 | stacklight_monitor03: |
| 90 | expression: <<node_hostname>>__equals__mon03 |
| 91 | cluster_param: |
| 92 | stacklight_monitor_node03_address: |
| 93 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 94 | node: |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 95 | stacklight_server_node01: |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 96 | name: ${_param:stacklight_monitor_node01_hostname} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 97 | domain: ${_param:cluster_domain} |
| 98 | classes: |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 99 | - service.galera.master.cluster |
| 100 | - system.docker.swarm.master |
| 101 | - cluster.${_param:cluster_name}.stacklight.client |
| 102 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 103 | params: |
| 104 | salt_master_host: ${_param:infra_config_deploy_address} |
| 105 | linux_system_codename: xenial |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 106 | single_address: ${_param:stacklight_monitor_node01_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 107 | keepalived_vip_priority: 100 |
| 108 | mysql_cluster_role: master |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 109 | stacklight_server_node02: |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 110 | name: ${_param:stacklight_monitor_node02_hostname} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 111 | domain: ${_param:cluster_domain} |
| 112 | classes: |
| 113 | - service.galera.slave.cluster |
| 114 | - system.docker.swarm.manager |
| 115 | - cluster.${_param:cluster_name}.stacklight.server |
| 116 | params: |
| 117 | salt_master_host: ${_param:infra_config_deploy_address} |
| 118 | linux_system_codename: xenial |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 119 | single_address: ${_param:stacklight_monitor_node02_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 120 | keepalived_vip_priority: 101 |
| 121 | mysql_cluster_role: slave |
Adam Tengler | 106a9b7 | 2017-09-27 14:21:30 +0200 | [diff] [blame] | 122 | stacklight_server_node03: |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 123 | name: ${_param:stacklight_monitor_node03_hostname} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 124 | domain: ${_param:cluster_domain} |
| 125 | classes: |
| 126 | - service.galera.slave.cluster |
| 127 | - system.docker.swarm.manager |
| 128 | - cluster.${_param:cluster_name}.stacklight.server |
| 129 | params: |
| 130 | salt_master_host: ${_param:infra_config_deploy_address} |
| 131 | linux_system_codename: xenial |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 132 | single_address: ${_param:stacklight_monitor_node03_address} |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame] | 133 | keepalived_vip_priority: 102 |
| 134 | mysql_cluster_role: slave |
Martin Polreich | d8dc1ed | 2017-08-16 13:24:26 +0000 | [diff] [blame] | 135 | |