Skip to content

Commit

Permalink
Change default root disk size to 100Gi
Browse files Browse the repository at this point in the history
RedHat lowered requirements for OpenShift node root disk size to 100Gi.
  • Loading branch information
Stephan Feurer authored and simu committed Feb 15, 2024
1 parent 1167e6c commit cf95e14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ resource "exoscale_compute_instance" "nodes" {
ignore_changes = [
template_id,
user_data,
elastic_ip_ids
elastic_ip_ids,
]
}
}
6 changes: 3 additions & 3 deletions modules/node-group/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ variable "instance_type" {

variable "root_disk_size" {
type = number
default = 120
default = 100

validation {
condition = var.root_disk_size >= 120
error_message = "The minimum supported root disk size for OCP4 is 120GB."
condition = var.root_disk_size >= 100
error_message = "The minimum supported root disk size for OCP4 is 100GB."
}
}

Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ variable "storage_state" {

variable "root_disk_size" {
type = number
default = 120
default = 100

validation {
condition = var.root_disk_size >= 120
error_message = "The minimum supported root disk size is 120GB."
condition = var.root_disk_size >= 100
error_message = "The minimum supported root disk size is 100GB."
}
}

Expand Down

0 comments on commit cf95e14

Please sign in to comment.