Skip to content

Commit 7d5333e

Browse files
authored
Merge pull request #3182 from yuvipanda/obj
Fixes for 2i2c hetzner member
2 parents 91391ab + e9d05d7 commit 7d5333e

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

config/hetzner-2i2c.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ projectName: hetzner-2i2c
22

33
registry:
44
enabled: true
5-
replicas: 4
5+
replicas: 1
66
config:
77
storage:
88
# Uncomment this and comment out the s3 config to use filesystem
99
# filesystem:
1010
# rootdirectory: /var/lib/registry
1111
s3:
12-
regionendpoint: https://fsn1.your-objectstorage.com
13-
bucket: mybinder-2i2c-registry-hetzner
12+
regionendpoint: https://nbg1.your-objectstorage.com
13+
bucket: mybinder-2i2c-registry
1414
region: does-not-matter
1515
storage:
1616
filesystem:
@@ -47,12 +47,12 @@ binderhub:
4747
- '--DockerEngine.extra_init_args={"timeout":1200}'
4848

4949
LaunchQuota:
50-
total_quota: 200
50+
total_quota: 250
5151

5252
# DockerRegistry:
5353
# token_url: "https://2lmrrh8f.gra7.container-registry.ovh.net/service/token?service=harbor-registry"
5454

55-
replicas: 1
55+
replicas: 2
5656

5757
extraVolumes:
5858
- name: secrets
@@ -68,11 +68,11 @@ binderhub:
6868
dind:
6969
resources:
7070
requests:
71-
cpu: "2"
71+
cpu: "4"
7272
memory: 12Gi
7373
limits:
74-
cpu: "6"
75-
memory: 12Gi
74+
cpu: "8"
75+
memory: 16Gi
7676

7777
ingress:
7878
hosts:

config/prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ federationRedirect:
231231
hetzner-2i2c:
232232
prime: true
233233
url: https://2i2c.mybinder.org
234-
weight: 40
234+
weight: 60
235235
health: https://2i2c.mybinder.org/health
236236
versions: https://2i2c.mybinder.org/versions
237237
gesis:

mybinder/templates/registry/ingress.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ metadata:
99
release: {{ .Release.Name }}
1010
annotations:
1111
kubernetes.io/tls-acme: "true"
12-
# things be big yo
13-
nginx.ingress.kubernetes.io/proxy-body-size: 4096m
12+
# This has to accomodate the max size of a single docker layer, which can be huge.
13+
# I had previously set this to 4G thinking 'that should be big enough' and was
14+
# immediately proven wrong. This is set to 16G now
15+
nginx.ingress.kubernetes.io/proxy-body-size: 16384m
1416
spec:
1517
ingressClassName: nginx
1618
rules:

0 commit comments

Comments
 (0)