Skip to content

Commit 30c229f

Browse files
committed
chore(install): reduce default resource footprint
1 parent e3a7df2 commit 30c229f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/modules/ROOT/pages/installation/advanced/resources.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ The main Camel K Operator Pod contributor resources consumption is likely to be
3030
```
3131
resources:
3232
requests:
33-
memory: "4Gi"
34-
cpu: "1"
33+
memory: "2Gi"
34+
cpu: "500m"
3535
limits:
36-
memory: "16Gi"
37-
cpu: "4"
36+
memory: "8Gi"
37+
cpu: "2"
3838
```
3939

4040
Note that if you plan to perform **native builds**, then the memory requirements may be increased significantly. Also, the CPU requirements are rather "soft", in the sense that it won't break the operator, but it'll perform slower in general.

pkg/resources/config/manager/operator-deployment.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ spec:
8080
periodSeconds: 10
8181
resources:
8282
requests:
83-
memory: "4Gi"
84-
cpu: "1"
83+
memory: "2Gi"
84+
cpu: "500m"
8585
limits:
86-
memory: "16Gi"
87-
cpu: "4"
86+
memory: "8Gi"
87+
cpu: "2"
8888
securityContext:
8989
runAsNonRoot: true
9090
seccompProfile:

script/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ TEST_PREBUILD = build
107107
# Tests may run in parallel to each other. This count sets the amount of tests run in parallel.
108108
# (default value would be otherwise GOMAXPROCS)
109109
TEST_COMMON_PARALLEL_COUNT ?= 2
110-
TEST_ADVANCED_PARALLEL_COUNT ?= 2
110+
TEST_ADVANCED_PARALLEL_COUNT ?= 4
111111

112112
# OLM (Operator Lifecycle Manager and Operator Hub): uncomment to override operator settings at build time
113113
#GOLDFLAGS += -X github.com/apache/camel-k/v2/pkg/util/olm.DefaultOperatorName=camel-k-operator

0 commit comments

Comments
 (0)