Skip to content

Commit 0c6ea36

Browse files
committed
maintner/maintnerd: increase memory request and limit
maintnerd is restarting frequently, with no notable events in Kubernetes or anything meaningful in the logs. It uses right around 4GiB of ram, so it could be running out of memory. Hope this helps. This also changes to the Recreate strategy, as the default RollingUpdate will not allow the volume to be mounted in a new container before the old container goes away. Change-Id: Ic5e2fc7f8b06d28c83d35a49c32858e34b79187c Reviewed-on: https://go-review.googlesource.com/c/build/+/356931 Trust: Alexander Rakoczy <[email protected]> Run-TryBot: Alexander Rakoczy <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 0be17ea commit 0c6ea36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

maintner/maintnerd/deployment-prod.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ spec:
88
selector:
99
matchLabels:
1010
app: maintnerd
11+
strategy:
12+
type: Recreate
1113
template:
1214
metadata:
1315
labels:
@@ -35,9 +37,9 @@ spec:
3537
resources:
3638
requests:
3739
cpu: "1"
38-
memory: "4Gi"
40+
memory: "8Gi"
3941
limits:
40-
memory: "6Gi"
42+
memory: "12Gi"
4143
---
4244
apiVersion: v1
4345
kind: PersistentVolumeClaim

0 commit comments

Comments
 (0)