diff --git a/config/hetzner-2i2c.yaml b/config/hetzner-2i2c.yaml index 5cd52db92..fa3a577e8 100644 --- a/config/hetzner-2i2c.yaml +++ b/config/hetzner-2i2c.yaml @@ -2,15 +2,15 @@ projectName: hetzner-2i2c registry: enabled: true - replicas: 4 + replicas: 1 config: storage: # Uncomment this and comment out the s3 config to use filesystem # filesystem: # rootdirectory: /var/lib/registry s3: - regionendpoint: https://fsn1.your-objectstorage.com - bucket: mybinder-2i2c-registry-hetzner + regionendpoint: https://nbg1.your-objectstorage.com + bucket: mybinder-2i2c-registry region: does-not-matter storage: filesystem: @@ -47,12 +47,12 @@ binderhub: - '--DockerEngine.extra_init_args={"timeout":1200}' LaunchQuota: - total_quota: 200 + total_quota: 250 # DockerRegistry: # token_url: "https://2lmrrh8f.gra7.container-registry.ovh.net/service/token?service=harbor-registry" - replicas: 1 + replicas: 2 extraVolumes: - name: secrets @@ -68,11 +68,11 @@ binderhub: dind: resources: requests: - cpu: "2" + cpu: "4" memory: 12Gi limits: - cpu: "6" - memory: 12Gi + cpu: "8" + memory: 16Gi ingress: hosts: diff --git a/config/prod.yaml b/config/prod.yaml index 11ea7f03b..bdd219054 100644 --- a/config/prod.yaml +++ b/config/prod.yaml @@ -231,7 +231,7 @@ federationRedirect: hetzner-2i2c: prime: true url: https://2i2c.mybinder.org - weight: 40 + weight: 60 health: https://2i2c.mybinder.org/health versions: https://2i2c.mybinder.org/versions gesis: diff --git a/mybinder/templates/registry/ingress.yaml b/mybinder/templates/registry/ingress.yaml index 0a8746886..695bba82a 100644 --- a/mybinder/templates/registry/ingress.yaml +++ b/mybinder/templates/registry/ingress.yaml @@ -9,8 +9,10 @@ metadata: release: {{ .Release.Name }} annotations: kubernetes.io/tls-acme: "true" - # things be big yo - nginx.ingress.kubernetes.io/proxy-body-size: 4096m + # This has to accomodate the max size of a single docker layer, which can be huge. + # I had previously set this to 4G thinking 'that should be big enough' and was + # immediately proven wrong. This is set to 16G now + nginx.ingress.kubernetes.io/proxy-body-size: 16384m spec: ingressClassName: nginx rules: