Skip to content

Commit 5882376

Browse files
authored
Merge pull request #3255 from yuvipanda/re-enable
Disable imageCleaner only on single node members
2 parents d3fcf61 + e3919e4 commit 5882376

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

config/hetzner-2i2c-bare.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ cryptnono:
2929
containerdHostPath: /run/k3s/containerd/containerd.sock
3030

3131
binderhub:
32+
imageCleaner:
33+
# handled by buildkit pruner
34+
enabled: false
3235
config:
3336
BinderHub:
3437
hub_url: https://hub.2i2c-bare.mybinder.org

config/hetzner-2i2c.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ binderhub:
9292
- hub.2i2c.mybinder.org
9393

9494
imageCleaner:
95-
# don't cordon single-node cluster while cleaning
96-
cordon: false
95+
# handled by buildkit pruner
96+
enabled: false
9797

9898
grafana:
9999
ingress:

mybinder/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ binderhub:
362362
memory: 4Gi
363363

364364
imageCleaner:
365-
enabled: false
365+
enabled: true
366366
# Use 40GB as upper limit, size is given in bytes
367367
imageGCThresholdHigh: 40e9
368368
imageGCThresholdLow: 10e9

0 commit comments

Comments
 (0)