From 42673b2292f7236ade64003c6ca943bd7b571637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Sun, 4 Jun 2023 17:09:43 +0200 Subject: [PATCH] change devspaces storage type --- infrastructure/templates/devspaces.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/infrastructure/templates/devspaces.yaml b/infrastructure/templates/devspaces.yaml index 78bccfa..d343d82 100644 --- a/infrastructure/templates/devspaces.yaml +++ b/infrastructure/templates/devspaces.yaml @@ -44,6 +44,17 @@ spec: logLevel: INFO metrics: enable: true + pluginRegistry: + # Raising the CPU (and memory limits) because, on old hardware, the + # plugin registry is too slow to start and does not get a chance + # to start within the alloted time frame. + deployment: + containers: + - name: plugin-registry + resources: + limits: + cpu: '4' + memory: 8Gi containerRegistry: {} devEnvironments: startTimeoutSeconds: 300 @@ -56,7 +67,9 @@ spec: template: -devspaces secondsOfInactivityBeforeIdling: 1800 storage: - pvcStrategy: per-user + # Because our default storage class has it "volumeBindingMode" + # set to "WaitForFirstConsumer", switching to ephemeral storage. + pvcStrategy: ephemeral gitServices: {} networking: {} ---