Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 1 | classes: |
azvyagintsev | 2859f0e | 2018-06-11 17:45:47 +0300 | [diff] [blame] | 2 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame] | 3 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 4 | - system.openssh.client.lab |
| 5 | - system.salt.master.pkg |
| 6 | - system.salt.minion.ca.salt_master |
| 7 | - system.salt.master.api |
Sergey Kolekonov | 41ffdfa | 2018-10-30 19:47:23 +0000 | [diff] [blame^] | 8 | - system.salt.minion.cert.k8s_server |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 9 | - system.reclass.storage.salt |
| 10 | - system.reclass.storage.system.kubernetes_control_cluster |
| 11 | - cluster.k8s-ha-calico-flannel-virtlet |
| 12 | parameters: |
| 13 | _param: |
| 14 | salt_master_base_environment: prd |
| 15 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 16 | reclass_data_revision: master |
| 17 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 18 | single_address: ${_param:infra_config_address} |
| 19 | deploy_address: ${_param:infra_config_deploy_address} |
| 20 | linux_system_codename: xenial |
| 21 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
| 22 | salt_master_host: 127.0.0.1 |
| 23 | salt_master_environment_revision: master |
| 24 | salt_master_environment_repository: 'https://github.com/salt-formulas' |
| 25 | salt: |
| 26 | master: |
| 27 | reactor: |
| 28 | reclass/minion/classify: |
| 29 | - salt://reclass/reactor/node_register.sls |
| 30 | reclass: |
| 31 | storage: |
| 32 | class_mapping: |
| 33 | common_node: |
| 34 | expression: all |
| 35 | node_param: |
| 36 | single_address: |
| 37 | value_template: <<node_control_ip>> |
| 38 | linux_system_codename: |
| 39 | value_template: <<node_os>> |
| 40 | salt_master_host: |
| 41 | value_template: <<node_master_ip>> |
| 42 | deploy_address: |
| 43 | value_template: <<node_deploy_ip>> |
| 44 | infra_config: |
| 45 | expression: <<node_hostname>>__startswith__cfg |
| 46 | cluster_param: |
| 47 | infra_config_address: |
| 48 | value_template: <<node_control_ip>> |
| 49 | infra_config_deploy_address: |
| 50 | value_template: <<node_deploy_ip>> |
| 51 | cluster_domain: |
| 52 | value_template: <<node_domain>> |
| 53 | kubernetes_control01: |
| 54 | expression: <<node_hostname>>__equals__ctl01 |
| 55 | cluster_param: |
| 56 | kubernetes_control_node01_address: |
| 57 | value_template: <<node_control_ip>> |
| 58 | kubernetes_control_node01_deploy_address: |
| 59 | value_template: <<node_deploy_ip>> |
| 60 | kubernetes_control02: |
| 61 | expression: <<node_hostname>>__equals__ctl02 |
| 62 | cluster_param: |
| 63 | kubernetes_control_node02_address: |
| 64 | value_template: <<node_control_ip>> |
| 65 | kubernetes_control_node02_deploy_address: |
| 66 | value_template: <<node_deploy_ip>> |
| 67 | kubernetes_control03: |
| 68 | expression: <<node_hostname>>__equals__ctl03 |
| 69 | cluster_param: |
| 70 | kubernetes_control_node03_address: |
| 71 | value_template: <<node_control_ip>> |
| 72 | kubernetes_control_node03_deploy_address: |
| 73 | value_template: <<node_deploy_ip>> |
| 74 | kubernetes_compute: |
| 75 | expression: <<node_hostname>>__startswith__cmp |
| 76 | node_class: |
| 77 | value_template: |
| 78 | - cluster.<<node_cluster>>.kubernetes.compute |
| 79 | node_param: |
| 80 | deploy_address: |
| 81 | value_template: <<node_deploy_ip>> |