Skip to content

Commit

Permalink
chore(install): reduce default resource footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jul 2, 2024
1 parent e3a7df2 commit 30c229f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/installation/advanced/resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions pkg/resources/config/manager/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion script/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30c229f

Please sign in to comment.