diff --git a/config/clusters/2i2c/ohw.values.yaml b/config/clusters/2i2c/ohw.values.yaml index 2a0b479c97..5d0b786c59 100644 --- a/config/clusters/2i2c/ohw.values.yaml +++ b/config/clusters/2i2c/ohw.values.yaml @@ -11,6 +11,13 @@ basehub: hosts: - oceanhackweek.2i2c.cloud singleuser: + nodeSelector: + 2i2c.org/community: ohw + extraTolerations: + - key: "2i2c.org/community" + operator: "Equal" + value: "ohw" + effect: "NoSchedule" networkPolicy: # In clusters with NetworkPolicy enabled, do not # allow outbound internet access that's not DNS, HTTP or HTTPS diff --git a/terraform/gcp/projects/pilot-hubs.tfvars b/terraform/gcp/projects/pilot-hubs.tfvars index e0f80ebf30..5816b0894f 100644 --- a/terraform/gcp/projects/pilot-hubs.tfvars +++ b/terraform/gcp/projects/pilot-hubs.tfvars @@ -53,6 +53,24 @@ notebook_nodes = { resource_labels : { "community" : "neurohackademy" }, + }, + # Nodepool for OceanHackWeek. Tracking issue: https://github.com/2i2c-org/infrastructure/issues/2879 + "ohw" : { + # We expect around 100 users + min : 0, + max : 100, + machine_type : "n2-highmem-16", + labels : { + "2i2c.org/community" : "ohw" + }, + taints : [{ + key : "2i2c.org/community", + value : "ohw", + effect : "NO_SCHEDULE" + }], + resource_labels : { + "community" : "ohw" + }, } }