-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasic.tfvars.tmpl
109 lines (98 loc) · 2.92 KB
/
basic.tfvars.tmpl
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
106
107
108
cluster_name = "<name>"
project = "<project>"
zone = "us-west1-b"
controller_image = "<image>"
login_image = "<image>"
partitions = [
{ name = "gcp-gromacs"
machine_type = "<machine_type>"
static_node_count = 0
max_node_count = 32
zone = "us-west1-b"
image = "<image>"
image_hyperthreads = true
compute_disk_type = "pd-standard"
compute_disk_size_gb = 50
compute_labels = {}
cpu_platform = null
gpu_count = 0
gpu_type = null
network_storage = []
preemptible_bursting = false
vpc_subnet = null
exclusive = false
enable_placement = false
regional_capacity = false
regional_policy = null
instance_template = null
},
]
# network_name = "<existing network name>"
# subnetwork_name = "<existing subnetwork name>"
# shared_vpc_host_project = "<vpc host project>"
# disable_controller_public_ips = true
disable_login_public_ips = false
# disable_compute_public_ips = true
# ompi_version = null # e.g. v3.1.x
# slurm_version = "19.05-latest"
# suspend_time = 300
controller_machine_type = "n1-standard-4"
# controller_disk_type = "pd-standard"
controller_disk_size_gb = 250
# controller_labels = {
# key1 = "val1"
# key2 = "val2"
# }
# controller_service_account = "default"
# controller_scopes = ["https://www.googleapis.com/auth/cloud-platform"]
# cloudsql = {
# server_ip = "<cloudsql ip>"
# user = "slurm"
# password = "verysecure"
# db_name = "slurm_accounting"
# }
# controller_secondary_disk = false
# controller_secondary_disk_size = 100
# controller_secondary_disk_type = "pd-ssd"
login_machine_type = "n1-standard-4"
# login_disk_type = "pd-standard"
# login_disk_size_gb = 20
# login_labels = {
# key1 = "val1"
# key2 = "val2"
# }
# login_node_count = 1
# login_node_service_account = "default"
# login_node_scopes = [
# "https://www.googleapis.com/auth/monitoring.write",
# "https://www.googleapis.com/auth/logging.write"
# ]
# Optional network storage fields
# network_storage is mounted on all instances
# login_network_storage is mounted on controller and login instances
# network_storage = [{
# server_ip = "<storage host>"
# remote_mount = "/home"
# local_mount = "/home"
# fs_type = "nfs"
# mount_options = null
# }]
#
# login_network_storage = [{
# server_ip = "<storage host>"
# remote_mount = "/net_storage"
# local_mount = "/shared"
# fs_type = "nfs"
# mount_options = null
# }]
# compute_image_machine_type = "n1-standard-2"
# compute_image_disk_type = "pd-standard"
# compute_image_disk_size_gb = 20
# compute_image_labels = {
# key1 = "val1"
# key2 = "val2"
# }
# compute_node_service_account = "default"
compute_node_scopes = [
"https://www.googleapis.com/auth/cloud-platform"
]