-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
103 lines (85 loc) · 2.29 KB
/
variables.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
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
variable "project_id" {
description = "GCP Project ID for the VPC and K8s Cluster."
}
variable "region" {
description = "The Region resources will be created in"
}
variable "cluster_name" {
description = "Name of the Kubernetes Cluster to provision"
type = string
}
variable "node_zones" {
description = "Zones in the region to create the cluster in"
type = list(any)
}
variable "cpu_min_node_count" {
default = "3"
description = "Number of CPU nodes in CPU nodepool"
}
variable "cpu_max_node_count" {
default = "5"
description = "Max Number of CPU nodes in CPU nodepool"
}
variable "use_cpu_spot_instances" {
default = false
description = "Use Spot instance for CPU pool"
}
variable "cpu_instance_type" {
default = "e2-standard-8"
description = "Machine Type for CPU node pool"
}
variable "num_cpu_nodes" {
default = 3
description = "Number of CPU nodes when pool is created"
}
variable "gpu_type" {
default = "nvidia-l4"
description = "GPU type"
}
variable "gpu_min_node_count" {
default = "0"
description = "Min number of GPU nodes in GPU nodepool"
}
variable "gpu_max_node_count" {
default = "512"
description = "Max Number of GPU nodes in GPU nodepool"
}
variable "use_gpu_spot_instances" {
default = false
description = "Use Spot instance for GPU pool"
}
variable "num_gpu_nodes" {
default = 0
description = "Number of GPU nodes when pool is created"
}
variable "gpu_count" {
default = "1"
description = "Number of GPUs to attach to each node in GPU pool"
}
variable "gpu_instance_type" {
default = "g2-standard-16"
description = "Machine Type for GPU node pool"
}
variable "gpu_instance_tags" {
type = list(string)
default = []
description = "GPU instance nodes tags"
}
variable "disk_size_gb" {
default = "512"
type = string
}
variable "gpu_operator_version" {
default = "v24.9.0"
description = "Version of the GPU Operator to deploy."
}
variable "gpu_operator_driver_version" {
type = string
default = "550.127.05"
description = "The NVIDIA Driver version deployed with GPU Operator."
}
variable "gpu_operator_namespace" {
type = string
default = "gpu-operator"
description = "The namespace to deploy the NVIDIA GPU operator into"
}