Skip to content

Commit

Permalink
Merge pull request 2i2c-org#2921 from sgibson91/ohw-event/nodepool
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Aug 4, 2023
2 parents a7a0acb + e0e5e97 commit c11fa3c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/clusters/2i2c/ohw.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions terraform/gcp/projects/pilot-hubs.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
}
}

Expand Down

0 comments on commit c11fa3c

Please sign in to comment.