git://wamblee.org
/
pipelinelib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639ab22
)
cpu limit for go.
author
Erik Brakkee
<erik@brakkee.org>
Fri, 15 Nov 2024 18:43:01 +0000
(19:43 +0100)
committer
Erik Brakkee
<erik@brakkee.org>
Fri, 15 Nov 2024 18:43:01 +0000
(19:43 +0100)
resources/podtemplates/go-1-23-2.yaml
patch
|
blob
|
history
diff --git
a/resources/podtemplates/go-1-23-2.yaml
b/resources/podtemplates/go-1-23-2.yaml
index 5860779c99f814f2bf3d9b8c474ec19ae687cf89..efa9bf6ab047a0b512cf1374c3aabf9d61baa5ff 100644
(file)
--- a/
resources/podtemplates/go-1-23-2.yaml
+++ b/
resources/podtemplates/go-1-23-2.yaml
@@
-5,6
+5,11
@@
spec:
- image: cat.wamblee.org/gobuilder:1.23.2
imagePullPolicy: Always
name: go-1-23-2
+ resources:
+ limits:
+ # otherwise go will try to use all CPUs which will lead to
+ # too much load.
+ cpu: 2
volumeMounts:
- name: run
mountPath: /run