Skip to content

Commit

Permalink
Move cryptnono container lookup config into individual deployments
Browse files Browse the repository at this point in the history
It's dependent on whether build and user nodes are combined or separate, since docker is only present on build nodes
  • Loading branch information
manics committed Jan 4, 2024
1 parent 791f460 commit 263c305
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions config/curvenote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ binderhub:
cryptnono:
enabled: true
priorityClassName: binderhub-core
detectors:
execwhacker:
containerdHostPath: /run/containerd
dockerHostPath: /run/dind

grafana:
enabled: false
Expand Down
7 changes: 7 additions & 0 deletions config/ovh2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ binderhub:
imageGCThresholdLow: 30e9
imageGCThresholdType: "absolute"

cryptnono:
detectors:
execwhacker:
containerdHostPath: /run/containerd
# TODO: Currently disabled as isn't present on all nodes, only on nodes running builders
# dockerHostPath: /run/dind

grafana:
nodeSelector: *coreNodeSelector
ingress:
Expand Down
5 changes: 3 additions & 2 deletions mybinder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ cryptnono:
execwhacker:
metrics:
enabled: true
containerdHostPath: /run/containerd
# TODO: Currently disabled as isn't present on all nodes, only on nodes running builders
# execwhacker needs access to containerd, and docker on build hosts, to lookup the container.
# Set these in the configurations for each deployment
# containerdHostPath: /run/containerd
# dockerHostPath: /run/dind

imagePullSecrets:
Expand Down

0 comments on commit 263c305

Please sign in to comment.