Adam Tengler | 048f45d | 2017-07-10 11:06:20 +0000 | [diff] [blame] | 1 | classes: |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 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 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 8 | - system.reclass.storage.salt |
| 9 | - system.reclass.storage.system.kubernetes_control_cluster |
| 10 | - cluster.k8s_ha_calico |
| 11 | parameters: |
| 12 | _param: |
| 13 | salt_master_base_environment: prd |
| 14 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 15 | reclass_data_revision: master |
| 16 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 17 | single_address: ${_param:infra_config_address} |
| 18 | linux_system_codename: xenial |
| 19 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
| 20 | salt_master_host: 127.0.0.1 |
| 21 | salt: |
| 22 | master: |
| 23 | reactor: |
| 24 | reclass/minion/classify: |
| 25 | - salt://reclass/reactor/node_register.sls |
| 26 | reclass: |
| 27 | storage: |
| 28 | class_mapping: |
| 29 | common_node: |
| 30 | expression: all |
| 31 | node_param: |
| 32 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 33 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 34 | linux_system_codename: |
| 35 | value_template: <<node_os>> |
| 36 | salt_master_host: |
| 37 | value_template: <<node_master_ip>> |
| 38 | infra_config: |
| 39 | expression: <<node_hostname>>__startswith__cfg |
| 40 | cluster_param: |
| 41 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 42 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 43 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 44 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 45 | cluster_domain: |
| 46 | value_template: <<node_domain>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 47 | kubernetes_control01: |
| 48 | expression: <<node_hostname>>__equals__ctl01 |
| 49 | cluster_param: |
| 50 | kubernetes_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 51 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 52 | kubernetes_control02: |
| 53 | expression: <<node_hostname>>__equals__ctl02 |
| 54 | cluster_param: |
| 55 | kubernetes_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 56 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 57 | kubernetes_control03: |
| 58 | expression: <<node_hostname>>__equals__ctl03 |
| 59 | cluster_param: |
| 60 | kubernetes_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 61 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 62 | kubernetes_compute: |
| 63 | expression: <<node_hostname>>__startswith__cmp |
| 64 | node_class: |
| 65 | value_template: |
| 66 | - cluster.<<node_cluster>>.kubernetes.compute |