blob: 997b07efd3add7c0582e54a593804bb0357e7d1d [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
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
Martin Polreiche048a832017-08-16 14:33:46 +020012- cluster.sl_k8s_calico.infra
Ales Komarekc12dd412017-06-27 16:24:42 +020013parameters:
14 _param:
15 salt_master_base_environment: prd
16 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
17 reclass_data_revision: master
18 reclass_config_master: ${_param:infra_config_deploy_address}
19 single_address: ${_param:infra_config_address}
20 linux_system_codename: xenial
21 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
Martin Polreiche048a832017-08-16 14:33:46 +020022 salt_master_host: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020023 reclass:
24 storage:
Ales Komarekc12dd412017-06-27 16:24:42 +020025 node:
Martin Polreiche048a832017-08-16 14:33:46 +020026 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:
32 salt_master_host: ${_param:infra_config_deploy_address}
33 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:
41 salt_master_host: ${_param:infra_config_deploy_address}
42 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:
48 - cluster.${_param:cluster_name}.stacklight.proxy
49 params:
50 salt_master_host: ${_param:infra_config_deploy_address}
51 linux_system_codename: xenial
52 single_address: ${_param:kubernetes_proxy_node01_address}
53 stacklight_node01:
54 name: ${_param:stacklight_node01_hostname}
Ales Komarekc12dd412017-06-27 16:24:42 +020055 domain: ${_param:cluster_domain}
56 classes:
Adam Tengler99446832017-07-11 12:43:05 +000057 - service.galera.master.cluster
58 - system.docker.swarm.master
59 - cluster.${_param:cluster_name}.stacklight.client
60 - cluster.${_param:cluster_name}.stacklight.server
Ales Komarekc12dd412017-06-27 16:24:42 +020061 params:
62 salt_master_host: ${_param:infra_config_deploy_address}
63 linux_system_codename: xenial
Martin Polreiche048a832017-08-16 14:33:46 +020064 single_address: ${_param:stacklight_node01_address}
Adam Tengler99446832017-07-11 12:43:05 +000065 keepalived_vip_priority: 100
66 mysql_cluster_role: master
Martin Polreiche048a832017-08-16 14:33:46 +020067 stacklight_node02:
68 name: ${_param:stacklight_node02_hostname}
Adam Tengler99446832017-07-11 12:43:05 +000069 domain: ${_param:cluster_domain}
70 classes:
71 - service.galera.slave.cluster
72 - system.docker.swarm.manager
73 - cluster.${_param:cluster_name}.stacklight.server
74 params:
75 salt_master_host: ${_param:infra_config_deploy_address}
76 linux_system_codename: xenial
Martin Polreiche048a832017-08-16 14:33:46 +020077 single_address: ${_param:stacklight_node02_address}
Adam Tengler99446832017-07-11 12:43:05 +000078 keepalived_vip_priority: 101
79 mysql_cluster_role: slave
Martin Polreiche048a832017-08-16 14:33:46 +020080 stacklight_node03:
81 name: ${_param:stacklight_node03_hostname}
Adam Tengler99446832017-07-11 12:43:05 +000082 domain: ${_param:cluster_domain}
83 classes:
84 - service.galera.slave.cluster
85 - system.docker.swarm.manager
86 - cluster.${_param:cluster_name}.stacklight.server
87 params:
88 salt_master_host: ${_param:infra_config_deploy_address}
89 linux_system_codename: xenial
Martin Polreiche048a832017-08-16 14:33:46 +020090 single_address: ${_param:stacklight_node03_address}
Adam Tengler99446832017-07-11 12:43:05 +000091 keepalived_vip_priority: 102
92 mysql_cluster_role: slave