You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "lsergio (via GitHub)" <gi...@apache.org> on 2023/12/01 13:20:46 UTC
[I] Ability to override resources for the quarkus-native task [camel-k]
lsergio opened a new issue, #4956:
URL: https://github.com/apache/camel-k/issues/4956
### Requirement
As a developer, I'm trying to speed up the native build process by providing more resources to the quarkus-native build task.
### Problem
I created an Integration with the following traits:
```
traits:
quarkus:
buildMode:
- native
builder:
tasksRequestMemory:
- "quarkus-native:2000m"
tasksRequestCPU:
- "quarkus-native:8Gi"
```
in order to provide more resources to the quarkus-native phase of the build process.
However, the build pod was still created with 1 cpu and 4Gi:
```
- command:
- /bin/bash
- -c
- cd maven && ./mvnw package -Dquarkus.package.type=native --global-settings settings.xml
image: quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.0-jdk-17
name: quarkus-native
resources:
requests:
cpu: "1"
memory: 4Gi
volumeMounts:
- mountPath: /builder/kit-clktoa002nnjtch78vg0
name: camel-k-builder
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-gdlpv
readOnly: true
workingDir: /builder/kit-clktoa002nnjtch78vg0
```
### Proposal
The code might just check if there is configuration for the quarkus-native phase for any of the cpu/memory request or limit configurations and not use the default one if found.
### Open questions
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ability to override resources for the quarkus-native task [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4956:
URL: https://github.com/apache/camel-k/issues/4956#issuecomment-1836293900
Yes. This seems to be a bug. We swallow any configuration provided by the user.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ability to override resources for the quarkus-native task [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4956: Ability to override resources for the quarkus-native task
URL: https://github.com/apache/camel-k/issues/4956
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org