This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 3e2379d Reduce memory limit for Karavan app
3e2379d is described below
commit 3e2379d6b48d0bce9367dfece2327c1ee4bd2cda
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Thu Dec 15 13:05:41 2022 -0500
Reduce memory limit for Karavan app
---
.../org/apache/camel/karavan/operator/resource/KaravanDeployment.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
index 047f4f0..8fbb4a8 100644
---
a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
+++
b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
@@ -120,7 +120,8 @@ public class KaravanDeployment extends
CRUDKubernetesDependentResource<Deploymen
.withContainerPort(8080)
.withName(Constants.NAME)
.endPort()
- .withResources(new
ResourceRequirementsBuilder().withRequests(Map.of("memory", new
Quantity("2048Mi"))).build())
+ .withResources(new
ResourceRequirementsBuilder().withRequests(
+ Map.of("memory", new
Quantity("512Mi"))).build())
.withVolumeMounts(
new
VolumeMountBuilder().withName("karavan-data").withMountPath("/deployments/karavan-data").build(),
new
VolumeMountBuilder().withName("ephemeral").withMountPath("/tmp").build()