Skip to content

Commit 0c560ef

Browse files
committed
pick b2-15, r2-60 node flavors for ovh2
1 parent 01a829f commit 0c560ef

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

terraform/ovh/main.tf

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ provider "ovh" {
3434
locals {
3535
service_name = "b309c78177f1458187add722e8db8dc2"
3636
cluster_name = "ovh2"
37-
# TODO: pick a region
3837
# GRA9 is colocated with registry
3938
region = "GRA9"
4039
}
@@ -86,9 +85,8 @@ resource "ovh_cloud_project_kube_nodepool" "core" {
8685
service_name = local.service_name
8786
kube_id = ovh_cloud_project_kube.cluster.id
8887
name = "core-202211"
89-
# r2-60 is 4 core, 60GB
90-
# TODO: use d2 for cheap setup testing
91-
flavor_name = "d2-8"
88+
# b2-15 is 4 core, 15GB
89+
flavor_name = "b2-15"
9290
desired_nodes = 1
9391
max_nodes = 3
9492
min_nodes = 1
@@ -106,9 +104,8 @@ resource "ovh_cloud_project_kube_nodepool" "user" {
106104
service_name = local.service_name
107105
kube_id = ovh_cloud_project_kube.cluster.id
108106
name = "user-202211"
109-
# r2-120 is 8 core, 120GB
110-
# TODO: use d2 for cheap setup testing
111-
flavor_name = "d2-8"
107+
# r2-60 is 4 core, 60GB
108+
flavor_name = "r2-60"
112109
desired_nodes = 1
113110
max_nodes = 6
114111
min_nodes = 1

0 commit comments

Comments
 (0)