Skip to content

Commit

Permalink
Update cloud router requirements
Browse files Browse the repository at this point in the history
Minimal cloud router should have 10GiB memory and 6GiB hugepages.

Scale cloud router should have 16GiB memory.
  • Loading branch information
tjohnes committed Oct 22, 2024
1 parent 651ea54 commit 5ae3d1d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dev/flex/templates/values-vrouter.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ xrd${i + 1}:
pullPolicy: Always
resources:
limits:
memory: 8Gi
memory: 10Gi
hugepages-1Gi: ${hugepages[node_name]}Gi
securityContext:
privileged: true
Expand Down
4 changes: 2 additions & 2 deletions examples/overlay/workload/templates/xrd1.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ image:
tag: "${image_tag}"
resources:
limits:
memory: 8Gi
hugepages-1Gi: 3Gi
memory: 10Gi
hugepages-1Gi: 6Gi
persistence:
enabled: true
storageClass: gp2
Expand Down
4 changes: 2 additions & 2 deletions examples/overlay/workload/templates/xrd2.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ image:
tag: "${image_tag}"
resources:
limits:
memory: 8Gi
hugepages-1Gi: 3Gi
memory: 10Gi
hugepages-1Gi: 6Gi
persistence:
enabled: true
storageClass: gp2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ image:
resources:
limits:
memory: 8Gi
hugepages-1Gi: 3Gi
persistence:
enabled: true
storageClass: gp2
Expand Down
4 changes: 2 additions & 2 deletions examples/singleton/workload/templates/xrd-vrouter.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ image:
tag: "${image_tag}"
resources:
limits:
memory: 8Gi
hugepages-1Gi: 3Gi
memory: 10Gi
hugepages-1Gi: 6Gi
persistence:
enabled: true
storageClass: gp2
Expand Down
6 changes: 3 additions & 3 deletions modules/aws/node-props/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ locals {
"cloud-router" = {
"m5.2xlarge" = {
cpuset = "2-3"
hugepages_gb = 4
hugepages_gb = 6
}

"m5n.2xlarge" = {
cpuset = "2-3"
hugepages_gb = 4
hugepages_gb = 6
}

"m5.24xlarge" = {
Expand Down Expand Up @@ -129,7 +129,7 @@ locals {
}

locals {
minimal_hugepages_gb = 4
minimal_hugepages_gb = 6
maximal_hugepages_gb = 6

hugepages_gb = try(
Expand Down

0 comments on commit 5ae3d1d

Please sign in to comment.