-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts_ifca_admin_deploy_template
81 lines (54 loc) · 1.69 KB
/
hosts_ifca_admin_deploy_template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
## hosts file example for IFCA admins to deploy federated cluster from scratch
#######################################################
####### MODIFY THIS GROUPS TO ADD THE NODES ###########
#######################################################
# ----- Consul
[consul_master]
##### Use just one consul server
<server_name> ansible_host=<server_public_IP>
[consul_clients]
<client1_name> ansible_host=<client1_IP>
...
<clientN_name> ansible_host=<clientN_IP>
# ----- Traefik
[traefik_master]
<traefik_name>
# ----- Nomad
[nomad_master]
<server_name> nomad_dc=<nomad_dc_name>
[nomad_cpu_clients]
<cpu_client1_name> nomad_dc=<nomad_dc_name> domain=<domain> nomad_namespaces=<namespace1,namespace2>
...
<cpu_clientN_name> nomad_dc=<nomad_dc_name> domain=<domain> nomad_namespaces=<namespace1,namespace2>
[nomad_gpu_clients]
<gpu_client1_name> nomad_dc=<nomad_dc_name> domain=<domain> nomad_namespaces=<namespace1,namespace2>
...
<gpu_clientN_name> nomad_dc=<nomad_dc_name> domain=<domain> nomad_namespaces=<namespace1,namespace2>
[nomad_tryme_clients]
<tryme_client1_name>
...
<tryme_clientN_name>
# ---- Volume-docker
[nomad_volume]
<nomad_client1_name> vol_name=<vol_name> partition_name=<partition_name>
...
<nomad_clientN_name> vol_name=<vol_name> partition_name=<partition_name>
# ---- Monitoring scripts
[monitoring]
<server_name>
#########################################
####### DO NOT MODIFY THIS GROUPS #######
#########################################
[consul_servers:children]
consul_master
[consul:children]
consul_clients
consul_servers
[nomad_servers:children]
nomad_master
[nomad_clients:children]
nomad_cpu_clients
nomad_gpu_clients
[nomad:children]
nomad_clients
nomad_servers