Skip to content

Commit 9aa798b

Browse files
committed
Adapt K8s base manifests for de.NBI Cinder CSI storage
- Switch workspace PVC from ReadWriteMany to ReadWriteOnce with cinder-csi storage class (required by de.NBI KKP cluster) - Increase PVC storage to 500Gi - Add namespace: openms to kustomization.yaml - Reduce pod resource requests (1Gi/500m) and limits (8Gi/4 CPU) so all workspace-mounting pods fit on a single node https://claude.ai/code/session_01RNJ3dVjV1VTHcC9ugE3FQJ
1 parent aa28e91 commit 9aa798b

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

k8s/base/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4+
namespace: openms
5+
46
resources:
57
- namespace.yaml
68
- configmap.yaml

k8s/base/rq-worker-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ spec:
3535
readOnly: true
3636
resources:
3737
requests:
38-
memory: "4Gi"
39-
cpu: "2"
38+
memory: "1Gi"
39+
cpu: "500m"
4040
limits:
41-
memory: "32Gi"
42-
cpu: "8"
41+
memory: "8Gi"
42+
cpu: "4"
4343
volumes:
4444
- name: workspaces
4545
persistentVolumeClaim:

k8s/base/streamlit-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ spec:
4949
periodSeconds: 30
5050
resources:
5151
requests:
52-
memory: "4Gi"
53-
cpu: "2"
52+
memory: "1Gi"
53+
cpu: "500m"
5454
limits:
55-
memory: "32Gi"
56-
cpu: "8"
55+
memory: "8Gi"
56+
cpu: "4"
5757
volumes:
5858
- name: workspaces
5959
persistentVolumeClaim:

k8s/base/workspace-pvc.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ metadata:
44
name: workspaces-pvc
55
spec:
66
accessModes:
7-
- ReadWriteMany
7+
- ReadWriteOnce
8+
storageClassName: cinder-csi
89
resources:
910
requests:
10-
storage: 100Gi
11+
storage: 500Gi

0 commit comments

Comments
 (0)