Browse Source

change devspaces storage type

pull/1/head
Nicolas Massé 3 years ago
parent
commit
42673b2292
  1. 15
      infrastructure/templates/devspaces.yaml

15
infrastructure/templates/devspaces.yaml

@ -44,6 +44,17 @@ spec:
logLevel: INFO logLevel: INFO
metrics: metrics:
enable: true 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: {} containerRegistry: {}
devEnvironments: devEnvironments:
startTimeoutSeconds: 300 startTimeoutSeconds: 300
@ -56,7 +67,9 @@ spec:
template: <username>-devspaces template: <username>-devspaces
secondsOfInactivityBeforeIdling: 1800 secondsOfInactivityBeforeIdling: 1800
storage: storage:
pvcStrategy: per-user # Because our default storage class has it "volumeBindingMode"
# set to "WaitForFirstConsumer", switching to ephemeral storage.
pvcStrategy: ephemeral
gitServices: {} gitServices: {}
networking: {} networking: {}
--- ---

Loading…
Cancel
Save