From 4f0bb6eed65067bb8298467c476ba9d32c88b19a Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 21 Jan 2025 12:54:15 +0100 Subject: [PATCH 1/2] 2i2c: try increasing docker client timeout --- config/hetzner-2i2c.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/hetzner-2i2c.yaml b/config/hetzner-2i2c.yaml index 7413c207a..f9522ef3c 100644 --- a/config/hetzner-2i2c.yaml +++ b/config/hetzner-2i2c.yaml @@ -39,6 +39,11 @@ binderhub: KubernetesBuildExecutor: memory_request: "2G" docker_host: /var/run/dind/docker.sock + repo2docker_extra_args: + # try to avoid timeout pushing to local registry + # default is 60 + # this must have no spaces to be processed by repo2docker correctly + - '--DockerEngine.extra_init_args={"timeout":120}' LaunchQuota: total_quota: 20 From 53b7dc4a4f3bb287d3d4eb1968d6c420eda5fd6a Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 21 Jan 2025 12:57:51 +0100 Subject: [PATCH 2/2] 2i2c: increase dind resources for a single node, I think we can dedicate more --- config/hetzner-2i2c.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/hetzner-2i2c.yaml b/config/hetzner-2i2c.yaml index f9522ef3c..0eb2714b7 100644 --- a/config/hetzner-2i2c.yaml +++ b/config/hetzner-2i2c.yaml @@ -64,7 +64,14 @@ binderhub: extraEnv: GOOGLE_APPLICATION_CREDENTIALS: /secrets/service-account.json - dind: {} + dind: + resources: + requests: + cpu: "2" + memory: 12Gi + limits: + cpu: "6" + memory: 12Gi ingress: hosts: