-
Notifications
You must be signed in to change notification settings - Fork 1
/
google_node_pools_experiments.tf
55 lines (40 loc) · 1.72 KB
/
google_node_pools_experiments.tf
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
module "regular_cpu_node_pools" {
source = "./modules/cpu_experiments_node_pool"
gcp_project = var.gcp_project
cluster_name = google_container_cluster.polyaxon_cluster.name
gcp_zone = google_container_cluster.polyaxon_cluster.zone
available_scopes = var.available_scopes
disk_size_gb = var.disk_size_gb_experiments
is_preemptible = false
cpu_node_pools = var.regular_cpu_experiments_node_pool
}
module "preemptible_cpu_node_pools" {
source = "./modules/cpu_experiments_node_pool"
gcp_project = var.gcp_project
gcp_zone = google_container_cluster.polyaxon_cluster.zone
cluster_name = google_container_cluster.polyaxon_cluster.name
available_scopes = var.available_scopes
disk_size_gb = var.disk_size_gb_experiments
is_preemptible = true
cpu_node_pools = var.preemptible_cpu_experiments_node_pools
}
module "regular_gpu_node_pools" {
source = "./modules/gpu_experiments_node_pool"
gcp_project = var.gcp_project
cluster_name = google_container_cluster.polyaxon_cluster.name
gcp_zone = google_container_cluster.polyaxon_cluster.zone
available_scopes = var.available_scopes
disk_size_gb = var.disk_size_gb_experiments
is_preemptible = false
gpu_node_pools = var.regular_gpu_experiments_node_pools
}
module "preemptible_gpu_node_pools" {
source = "./modules/gpu_experiments_node_pool"
gcp_project = var.gcp_project
gcp_zone = google_container_cluster.polyaxon_cluster.zone
cluster_name = google_container_cluster.polyaxon_cluster.name
available_scopes = var.available_scopes
disk_size_gb = var.disk_size_gb_experiments
is_preemptible = true
gpu_node_pools = var.preemptible_gpu_experiments_node_pools
}