Skip to content

Commit a839988

Browse files
rohanKanojiadkwon17
authored andcommitted
fix(storage): increase default per-workspace PVC size from 5Gi to 10Gi
Signed-off-by: Rohan Kumar <[email protected]>
1 parent 8d196fb commit a839988

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/config/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ var (
114114
// Necessary variables for setting pointer values
115115
var (
116116
commonStorageSize = resource.MustParse("10Gi")
117-
perWorkspaceStorageSize = resource.MustParse("5Gi")
117+
perWorkspaceStorageSize = resource.MustParse("10Gi")
118118
)
119119

120120
func setDefaultPodSecurityContext() error {

pkg/provision/storage/testdata/perWorkspace-storage/uses-calculated-pvc-size-when-greater-than-default.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ input:
3030
volume: {} # Size is not defined, but calculated PVC size will be greater than default 5Gi so, calculated size should be used
3131
- name: volume-1
3232
volume:
33-
size: 1Gi
33+
size: 2Gi
3434
- name: volume-2
3535
volume:
36-
size: 4Gi
36+
size: 8Gi
3737
- name: volume-3
3838
volume:
3939
size: 512Mi
@@ -42,7 +42,7 @@ input:
4242
size: 248Mi
4343

4444
output:
45-
pvcSize: 5880Mi
45+
pvcSize: 11000Mi
4646
podAdditions:
4747
containers:
4848
- name: testing-container-1

0 commit comments

Comments
 (0)