This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 30c229f11 chore(install): reduce default resource footprint
30c229f11 is described below

commit 30c229f11841f821a502d2350f9288c1ecf85c59
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Jul 2 08:06:42 2024 +0200

    chore(install): reduce default resource footprint
---
 docs/modules/ROOT/pages/installation/advanced/resources.adoc | 8 ++++----
 pkg/resources/config/manager/operator-deployment.yaml        | 8 ++++----
 script/Makefile                                              | 2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/modules/ROOT/pages/installation/advanced/resources.adoc 
b/docs/modules/ROOT/pages/installation/advanced/resources.adoc
index b6599ad25..6e470abde 100644
--- a/docs/modules/ROOT/pages/installation/advanced/resources.adoc
+++ b/docs/modules/ROOT/pages/installation/advanced/resources.adoc
@@ -30,11 +30,11 @@ The main Camel K Operator Pod contributor resources 
consumption is likely to be
 ```
 resources:
   requests:
-    memory: "4Gi"
-    cpu: "1"
+    memory: "2Gi"
+    cpu: "500m"
   limits:
-    memory: "16Gi"
-    cpu: "4"
+    memory: "8Gi"
+    cpu: "2"
 ```
 
 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.
diff --git a/pkg/resources/config/manager/operator-deployment.yaml 
b/pkg/resources/config/manager/operator-deployment.yaml
index f76ab614d..b7ba60c14 100644
--- a/pkg/resources/config/manager/operator-deployment.yaml
+++ b/pkg/resources/config/manager/operator-deployment.yaml
@@ -80,11 +80,11 @@ spec:
             periodSeconds: 10
           resources:
             requests:
-              memory: "4Gi"
-              cpu: "1"
+              memory: "2Gi"
+              cpu: "500m"
             limits:
-              memory: "16Gi"
-              cpu: "4"
+              memory: "8Gi"
+              cpu: "2"
           securityContext:
             runAsNonRoot: true
             seccompProfile:
diff --git a/script/Makefile b/script/Makefile
index 82ed600ab..ec6faa7fe 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -107,7 +107,7 @@ TEST_PREBUILD = build
 # Tests may run in parallel to each other. This count sets the amount of tests 
run in parallel.
 # (default value would be otherwise GOMAXPROCS)
 TEST_COMMON_PARALLEL_COUNT ?= 2
-TEST_ADVANCED_PARALLEL_COUNT ?= 2
+TEST_ADVANCED_PARALLEL_COUNT ?= 4
 
 # OLM (Operator Lifecycle Manager and Operator Hub): uncomment to override 
operator settings at build time
 #GOLDFLAGS += -X 
github.com/apache/camel-k/v2/pkg/util/olm.DefaultOperatorName=camel-k-operator

Reply via email to