fix(terraform): cap EPHEMERAL volume size to reserve disk space for swap partition on worker nodes
This commit is contained in:
+11
-10
@@ -123,16 +123,17 @@ variable "controlplane_configs" {
|
||||
|
||||
variable "worker_configs" {
|
||||
type = map(object({
|
||||
hostname = string
|
||||
lan_ip = string
|
||||
lan_subnet = string
|
||||
lan_gateway = string
|
||||
install_disk = string
|
||||
network_interface = optional(string, "eno1")
|
||||
zone = string
|
||||
gpu_count = optional(number, 0)
|
||||
factory_image = optional(string)
|
||||
swap_size = optional(string, "")
|
||||
hostname = string
|
||||
lan_ip = string
|
||||
lan_subnet = string
|
||||
lan_gateway = string
|
||||
install_disk = string
|
||||
network_interface = optional(string, "eno1")
|
||||
zone = string
|
||||
gpu_count = optional(number, 0)
|
||||
factory_image = optional(string)
|
||||
swap_size = optional(string, "")
|
||||
ephemeral_max_size = optional(string, "700GiB")
|
||||
extra_disks = optional(list(object({
|
||||
device = string
|
||||
mountpoint = string
|
||||
|
||||
Reference in New Issue
Block a user