Skip to content

Commit d85ef96

Browse files
authored
fix: Bump up gitter allocation (#4798)
Also fixed: - Replace deprecated gcePersistentDisk with csi driver - Actually add gitter.yaml to kustomizations.yaml (I can't believe this was working before) - Overriding the volume claim in test (I'm not sure if this works, we'll find out)
1 parent fcf3902 commit d85ef96

5 files changed

Lines changed: 18 additions & 5 deletions

File tree

deployment/clouddeploy/gke-workers/base/gitter.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ metadata:
5252
spec:
5353
storageClassName: ""
5454
capacity:
55-
storage: 2Ti
55+
storage: 4Ti
5656
accessModes:
5757
- ReadWriteOnce
58-
gcePersistentDisk:
59-
pdName: gitter-disk
58+
csi:
59+
driver: pd.csi.storage.gke.io
60+
volumeHandle: projects/oss-vdb/zones/us-central1-f/disks/gitter-disk
6061
fsType: ext4
6162
---
6263
apiVersion: v1
@@ -70,7 +71,7 @@ spec:
7071
- ReadWriteOnce
7172
resources:
7273
requests:
73-
storage: 2Ti
74+
storage: 4Ti
7475
---
7576
apiVersion: v1
7677
kind: Service

deployment/clouddeploy/gke-workers/environments/oss-vdb-test/gitter.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,13 @@ spec:
1414
env:
1515
- name: GOOGLE_CLOUD_PROJECT
1616
value: oss-vdb-test
17+
---
18+
apiVersion: v1
19+
kind: PersistentVolume
20+
metadata:
21+
name: gitter-disk-pv
22+
spec:
23+
csi:
24+
driver: pd.csi.storage.gke.io
25+
volumeHandle: projects/oss-vdb-test/zones/us-central1-f/disks/gitter-disk
26+
fsType: ext4

deployment/clouddeploy/gke-workers/environments/oss-vdb-test/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ patches:
2424
- path: recoverer.yaml
2525
- path: record-checker.yaml
2626
- path: custommetrics.yaml
27+
- path: gitter.yaml

deployment/clouddeploy/gke-workers/environments/oss-vdb/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ patches:
2121
- path: record-checker.yaml
2222
- path: cve5-to-osv.yaml
2323
- path: custommetrics.yaml
24+
- path: gitter.yaml
2425

deployment/terraform/modules/osv/workers_gke.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,5 @@ resource "google_compute_disk" "gitter_disk" {
181181
name = "gitter-disk"
182182
type = "pd-ssd"
183183
zone = google_container_cluster.workers.location
184-
size = 2048
184+
size = 4096
185185
}

0 commit comments

Comments
 (0)