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 |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame^] | 12 | - cluster.sl_k8s_calico.stacklight.proxy |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 13 | - cluster.sl_k8s_calico |
| 14 | parameters: |
| 15 | _param: |
| 16 | salt_master_base_environment: prd |
| 17 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 18 | reclass_data_revision: master |
| 19 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 20 | single_address: ${_param:infra_config_address} |
| 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: |
| 25 | master: |
| 26 | reactor: |
| 27 | reclass/minion/classify: |
| 28 | - salt://reclass/reactor/node_register.sls |
| 29 | reclass: |
| 30 | storage: |
| 31 | class_mapping: |
| 32 | common_node: |
| 33 | expression: all |
| 34 | node_param: |
| 35 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 36 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 37 | linux_system_codename: |
| 38 | value_template: <<node_os>> |
| 39 | salt_master_host: |
| 40 | value_template: <<node_master_ip>> |
| 41 | infra_config: |
| 42 | expression: <<node_hostname>>__startswith__cfg |
| 43 | cluster_param: |
| 44 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 45 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 46 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 47 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 48 | cluster_domain: |
| 49 | value_template: <<node_domain>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 50 | infra_proxy: |
| 51 | expression: <<node_hostname>>__startswith__prx |
| 52 | node_class: |
| 53 | value_template: |
| 54 | - cluster.<<node_cluster>>.stacklight.proxy |
| 55 | kubernetes_control01: |
| 56 | expression: <<node_hostname>>__equals__ctl01 |
| 57 | cluster_param: |
| 58 | kubernetes_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 59 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 60 | kubernetes_control02: |
| 61 | expression: <<node_hostname>>__equals__ctl02 |
| 62 | cluster_param: |
| 63 | kubernetes_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 64 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 65 | kubernetes_control03: |
| 66 | expression: <<node_hostname>>__equals__ctl03 |
| 67 | cluster_param: |
| 68 | kubernetes_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 69 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 70 | kubernetes_compute: |
| 71 | expression: <<node_hostname>>__startswith__cmp |
| 72 | node_class: |
| 73 | value_template: |
| 74 | - cluster.<<node_cluster>>.kubernetes.compute |
| 75 | stacklight_monitor01: |
| 76 | expression: <<node_hostname>>__equals__mon01 |
| 77 | cluster_param: |
| 78 | stacklight_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 79 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 80 | stacklight_monitor02: |
| 81 | expression: <<node_hostname>>__equals__mon02 |
| 82 | cluster_param: |
| 83 | stacklight_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 84 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 85 | stacklight_monitor03: |
| 86 | expression: <<node_hostname>>__equals__mon03 |
| 87 | cluster_param: |
| 88 | stacklight_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 89 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 90 | node: |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame^] | 91 | stacklight_node01: |
| 92 | name: ${_param:stacklight_node01_hostname} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 93 | domain: ${_param:cluster_domain} |
| 94 | classes: |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame^] | 95 | - service.galera.master.cluster |
| 96 | - system.docker.swarm.master |
| 97 | - cluster.${_param:cluster_name}.stacklight.client |
| 98 | - cluster.${_param:cluster_name}.stacklight.server |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 99 | params: |
| 100 | salt_master_host: ${_param:infra_config_deploy_address} |
| 101 | linux_system_codename: xenial |
Adam Tengler | 9944683 | 2017-07-11 12:43:05 +0000 | [diff] [blame^] | 102 | single_address: ${_param:stacklight_node01_address} |
| 103 | keepalived_vip_priority: 100 |
| 104 | mysql_cluster_role: master |
| 105 | stacklight_node02: |
| 106 | name: ${_param:stacklight_node02_hostname} |
| 107 | domain: ${_param:cluster_domain} |
| 108 | classes: |
| 109 | - service.galera.slave.cluster |
| 110 | - system.docker.swarm.manager |
| 111 | - cluster.${_param:cluster_name}.stacklight.server |
| 112 | params: |
| 113 | salt_master_host: ${_param:infra_config_deploy_address} |
| 114 | linux_system_codename: xenial |
| 115 | single_address: ${_param:stacklight_node02_address} |
| 116 | keepalived_vip_priority: 101 |
| 117 | mysql_cluster_role: slave |
| 118 | stacklight_node03: |
| 119 | name: ${_param:stacklight_node03_hostname} |
| 120 | domain: ${_param:cluster_domain} |
| 121 | classes: |
| 122 | - service.galera.slave.cluster |
| 123 | - system.docker.swarm.manager |
| 124 | - cluster.${_param:cluster_name}.stacklight.server |
| 125 | params: |
| 126 | salt_master_host: ${_param:infra_config_deploy_address} |
| 127 | linux_system_codename: xenial |
| 128 | single_address: ${_param:stacklight_node03_address} |
| 129 | keepalived_vip_priority: 102 |
| 130 | mysql_cluster_role: slave |
| 131 | |