-
Notifications
You must be signed in to change notification settings - Fork 22
/
kubernetes-node-pool.tf
34 lines (30 loc) · 1.21 KB
/
kubernetes-node-pool.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
module "node_pool_blue" {
source = "./modules/node_pool"
kube_token = module.kube_token_1.token
kubernetes_version = var.kubernetes_version
pool_label = "blue"
count_x86 = var.count_x86
count_arm = var.count_arm
plan_x86 = var.plan_x86
plan_arm = var.plan_arm
metro = var.metro
cluster_name = var.cluster_name
controller_address = module.controllers.controller_addresses
project_id = var.metal_create_project ? equinix_metal_project.new_project[0].id : var.project_id
storage = var.storage
ccm_enabled = var.ccm_enabled
}
module "node_pool_gpu_green" {
source = "./modules/gpu_node_pool"
kube_token = module.kube_token_1.token
kubernetes_version = var.kubernetes_version
pool_label = "gpu-green"
count_gpu = var.count_gpu
plan_gpu = var.plan_gpu
metro = var.metro
cluster_name = var.cluster_name
controller_address = module.controllers.controller_addresses
project_id = var.metal_create_project ? equinix_metal_project.new_project[0].id : var.project_id
storage = var.storage
ccm_enabled = var.ccm_enabled
}