blob: 865cb749dd454cdec16f0be3bfd350b1b045d04c [file] [log] [blame]
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02001classes:
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +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.salt.minion.cert.k8s_server
Swann Croiset4e3e0842017-05-04 16:49:57 +02008- system.mysql.client
9- system.mysql.client.database.grafana
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020010- system.reclass.storage.salt
11- system.reclass.storage.system.kubernetes_control_cluster
12- cluster.virtual-mcp11-k8s-calico.infra
13parameters:
14 _param:
15 salt_master_base_environment: prd
Tomáš Kukrál8c25ac92017-04-27 22:46:12 +020016 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020017 reclass_data_revision: master
18 reclass_config_master: ${_param:infra_config_deploy_address}
19 single_address: ${_param:infra_config_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020020 linux_system_codename: xenial
21 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
Simon Pasquiera4e38252017-04-28 11:14:29 +020022 salt_master_host: ${_param:infra_config_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020023 reclass:
24 storage:
25 node:
26 kubernetes_compute_node01:
27 name: ${_param:kubernetes_compute_node01_hostname}
28 domain: ${_param:cluster_domain}
29 classes:
30 - cluster.${_param:cluster_name}.kubernetes.compute
31 params:
Simon Pasquiera4e38252017-04-28 11:14:29 +020032 salt_master_host: ${_param:infra_config_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020033 linux_system_codename: xenial
34 single_address: ${_param:kubernetes_compute_node01_address}
35 kubernetes_compute_node02:
36 name: ${_param:kubernetes_compute_node02_hostname}
37 domain: ${_param:cluster_domain}
38 classes:
39 - cluster.${_param:cluster_name}.kubernetes.compute
40 params:
Simon Pasquiera4e38252017-04-28 11:14:29 +020041 salt_master_host: ${_param:infra_config_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020042 linux_system_codename: xenial
43 single_address: ${_param:kubernetes_compute_node02_address}
44 prx_node:
45 name: ${_param:kubernetes_proxy_node01_hostname}
46 domain: ${_param:cluster_domain}
47 classes:
Simon Pasquiera7a449d2017-05-11 10:03:41 +020048 - cluster.${_param:cluster_name}.stacklight.proxy
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020049 params:
Simon Pasquiera4e38252017-04-28 11:14:29 +020050 salt_master_host: ${_param:infra_config_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020051 linux_system_codename: xenial
52 single_address: ${_param:kubernetes_proxy_node01_address}
Simon Pasquiera7a449d2017-05-11 10:03:41 +020053 stacklight_node01:
54 name: ${_param:stacklight_node01_hostname}
Tomáš Kukrál8c25ac92017-04-27 22:46:12 +020055 domain: ${_param:cluster_domain}
56 classes:
Swann Croiset4e3e0842017-05-04 16:49:57 +020057 - service.galera.master.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020058 - system.docker.swarm.master
59 - cluster.${_param:cluster_name}.stacklight.client
60 - cluster.${_param:cluster_name}.stacklight.server
Tomáš Kukrál8c25ac92017-04-27 22:46:12 +020061 params:
Simon Pasquiera4e38252017-04-28 11:14:29 +020062 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál8c25ac92017-04-27 22:46:12 +020063 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020064 single_address: ${_param:stacklight_node01_address}
Simon Pasquiera3a92f62017-04-28 15:19:18 +020065 keepalived_vip_priority: 100
Swann Croiset4e3e0842017-05-04 16:49:57 +020066 mysql_cluster_role: master
Simon Pasquiera7a449d2017-05-11 10:03:41 +020067 stacklight_node02:
68 name: ${_param:stacklight_node02_hostname}
Simon Pasquiera4e38252017-04-28 11:14:29 +020069 domain: ${_param:cluster_domain}
70 classes:
Swann Croiset4e3e0842017-05-04 16:49:57 +020071 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020072 - system.docker.swarm.manager
73 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquiera4e38252017-04-28 11:14:29 +020074 params:
75 salt_master_host: ${_param:infra_config_deploy_address}
76 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020077 single_address: ${_param:stacklight_node02_address}
Simon Pasquiera3a92f62017-04-28 15:19:18 +020078 keepalived_vip_priority: 101
Swann Croiset4e3e0842017-05-04 16:49:57 +020079 mysql_cluster_role: slave
Simon Pasquiera7a449d2017-05-11 10:03:41 +020080 stacklight_node03:
81 name: ${_param:stacklight_node03_hostname}
Simon Pasquiera4e38252017-04-28 11:14:29 +020082 domain: ${_param:cluster_domain}
83 classes:
Swann Croiset4e3e0842017-05-04 16:49:57 +020084 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020085 - system.docker.swarm.manager
86 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquiera4e38252017-04-28 11:14:29 +020087 params:
88 salt_master_host: ${_param:infra_config_deploy_address}
89 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020090 single_address: ${_param:stacklight_node03_address}
Simon Pasquiera3a92f62017-04-28 15:19:18 +020091 keepalived_vip_priority: 102
Swann Croiset4e3e0842017-05-04 16:49:57 +020092 mysql_cluster_role: slave