-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathazure_multiple_vmss_vars.yml.example
105 lines (102 loc) · 2.64 KB
/
azure_multiple_vmss_vars.yml.example
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
vars_list:
# The below roles are required when HA is enabled (i.e. hdfs_ha = True)
- name_suffix: vmss1
sku: Standard_D4s_v3
perf_profile: azd8s
data_disk_count: 4
data_disk_sku: Premium_LRS
data_disk_size_gb: 512
data_disk_caching: ReadOnly
capacity: 4
roles:
namenode: 1
resourcemanager: 1
accumulomaster: 1
zookeeper: 1
journalnode: 2
zkfc: 1
client: 4
- name_suffix: vmss2
sku: Standard_D4s_v3
perf_profile: perf-small
data_disk_count: 4
data_disk_sku: Standard_LRS
data_disk_size_gb: 512
data_disk_caching: ReadOnly
capacity: 4
roles:
zookeeper: 2
journalnode: 1
namenode: 1
zkfc: 1
accumulomaster: 1
resourcemanager: 1
client: 4
- name_suffix: vmss3
sku: Standard_D4s_v3
perf_profile: azd8s
data_disk_count: 8
data_disk_sku: Standard_LRS
data_disk_size_gb: 1024
data_disk_caching: ReadOnly
capacity: 4
roles:
worker: 4
# The below roles are required when HA is not enabled (i.e hdfs_ha = False)
- name_suffix: vmss4
sku: Standard_D4s_v3
perf_profile: azd8s
data_disk_count: 4
data_disk_sku: Premium_LRS
data_disk_size_gb: 512
data_disk_caching: ReadOnly
capacity: 3
roles:
namenode: 1
resourcemanager: 1
accumulomaster: 1
zookeeper: 1
client: 3
- name_suffix: vmss5
sku: Standard_D4s_v3
perf_profile: azd8s
data_disk_count: 4
data_disk_sku: Premium_LRS
data_disk_size_gb: 512
data_disk_caching: ReadOnly
capacity: 1
roles:
metrics: 1
client: 1
# As an example, the below is also configured as an Azure Spot (Low-Priority) VMSS
- name_suffix: vmss6
sku: Standard_D8s_v3
vmss_priority: Spot
perf_profile: azd8s
data_disk_count: 8
data_disk_sku: Standard_LRS
data_disk_size_gb: 1024
data_disk_caching: ReadOnly
capacity: 3
roles:
worker: 3
# The below VMSS definition is provided just as a sample to show how we
# can define per-VMSS mount root and disk path and pattern definitions
# Using ephemeral storage like the one shown below should not be used for
# any case where data persistence is required
- name_suffix: vmss7
sku: Standard_L16s_v2
perf_profile: azd8s
azure_disk_device_path: /dev
azure_disk_device_pattern: nvme*n1
mount_root: /nvmedata
data_disk_count: 0
data_disk_sku: Standard_LRS
data_disk_size_gb: 1024
# This is just an example to show that caching can be set to different
# values for each VMSS.
data_disk_caching: None
capacity: 4
roles:
worker: 4