blob: b6e8f4a94dcb7028e1a9a881779f5153dc122e98 [file] [log] [blame]
Tomáš Kukrál328de802017-04-27 15:17:40 +02001classes:
Tomáš Kukrál328de802017-04-27 15:17:40 +02002- 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.reclass.storage.salt
8- system.salt.minion.cert.k8s_server
9- system.reclass.storage.system.kubernetes_control_cluster
10- system.reclass.storage.system.opencontrail_control_cluster
11- cluster.virtual-mcp11-k8s-contrail.infra
12parameters:
13 _param:
14 salt_master_base_environment: prd
15 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
16 reclass_data_revision: master
17 reclass_config_master: ${_param:infra_config_deploy_address}
18 single_address: ${_param:infra_config_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020019 linux_system_codename: xenial
20 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
Simon Pasquieref3efb52017-05-04 12:47:11 +020021 salt_master_host: ${_param:infra_config_deploy_address}
Marek Celoud9749b272017-07-10 17:47:42 +020022 linux:
23 network:
24 interface:
25 ens4:
26 enabled: true
27 type: eth
28 proto: static
29 address: ${_param:single_address}
30 netmask: 255.255.255.0
Tomáš Kukrál328de802017-04-27 15:17:40 +020031 reclass:
32 storage:
33 node:
34 kubernetes_compute_node01:
35 name: ${_param:kubernetes_compute_node01_hostname}
36 domain: ${_param:cluster_domain}
37 classes:
38 - cluster.${_param:cluster_name}.kubernetes.compute
39 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020040 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020041 linux_system_codename: xenial
42 single_address: ${_param:kubernetes_compute_node01_address}
43 kubernetes_compute_node02:
44 name: ${_param:kubernetes_compute_node02_hostname}
45 domain: ${_param:cluster_domain}
46 classes:
47 - cluster.${_param:cluster_name}.kubernetes.compute
48 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020049 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020050 linux_system_codename: xenial
51 single_address: ${_param:kubernetes_compute_node02_address}
52 prx_node:
53 name: ${_param:kubernetes_proxy_node01_hostname}
54 domain: ${_param:cluster_domain}
55 classes:
Simon Pasquiera7a449d2017-05-11 10:03:41 +020056 - cluster.${_param:cluster_name}.stacklight.proxy
Tomáš Kukrál328de802017-04-27 15:17:40 +020057 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020058 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020059 linux_system_codename: xenial
60 single_address: ${_param:kubernetes_proxy_node01_address}
Simon Pasquiera7a449d2017-05-11 10:03:41 +020061 stacklight_node01:
62 name: ${_param:stacklight_node01_hostname}
Tomáš Kukrál328de802017-04-27 15:17:40 +020063 domain: ${_param:cluster_domain}
64 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020065 - service.galera.master.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020066 - system.docker.swarm.master
67 - cluster.${_param:cluster_name}.stacklight.client
68 - cluster.${_param:cluster_name}.stacklight.server
Tomáš Kukrál328de802017-04-27 15:17:40 +020069 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020070 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020071 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020072 single_address: ${_param:stacklight_node01_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020073 keepalived_vip_priority: 100
Simon Pasquier994b69d2017-06-08 15:58:53 +020074 mysql_cluster_role: master
Simon Pasquiera7a449d2017-05-11 10:03:41 +020075 stacklight_node02:
76 name: ${_param:stacklight_node02_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020077 domain: ${_param:cluster_domain}
78 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020079 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020080 - system.docker.swarm.manager
81 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020082 params:
83 salt_master_host: ${_param:infra_config_deploy_address}
84 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020085 single_address: ${_param:stacklight_node02_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020086 keepalived_vip_priority: 101
Simon Pasquier994b69d2017-06-08 15:58:53 +020087 mysql_cluster_role: slave
Simon Pasquiera7a449d2017-05-11 10:03:41 +020088 stacklight_node03:
89 name: ${_param:stacklight_node03_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020090 domain: ${_param:cluster_domain}
91 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020092 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020093 - system.docker.swarm.manager
94 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020095 params:
96 salt_master_host: ${_param:infra_config_deploy_address}
97 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020098 single_address: ${_param:stacklight_node03_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020099 keepalived_vip_priority: 102
Simon Pasquier994b69d2017-06-08 15:58:53 +0200100 mysql_cluster_role: slave
Tomáš Kukrál328de802017-04-27 15:17:40 +0200101 opencontrail_control_node01:
102 params:
103 rabbitmq_cluster_role: master
104 opencontrail_control_node02:
105 params:
106 rabbitmq_cluster_role: slave
107 opencontrail_control_node03:
108 params:
109 rabbitmq_cluster_role: slave