1
0
Fork 0

devtools: bump up depotview mem limit

It used to be at 128Mi, which is a bit small considering this clones
hscloud into memory.

This is a quick fix, a better thing to do would be to have some storage
for depotview to clone into, instead of serving fully from RAM.

Change-Id: I619d39a0d61f5de9bdeef1f46262c78ea33a19fc
master
q3k 2021-01-22 18:38:40 +01:00
parent 61f978a0a0
commit adbf560851
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ local kube = import "../../kube/kube.libsonnet";
local depotview = self,
cfg+: {
image: cfg.image,
container: depotview.GoContainer("main", "/devtools/depotview") {}
container: depotview.GoContainer("main", "/devtools/depotview") {
resources: {
requests: { cpu: "25m", memory: "256Mi" },
limits: { cpu: "500m", memory: "512Mi" },
},
}
},
}
}