You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/01 07:28:26 UTC

[GitHub] [camel-k] Mohid-A opened a new issue #3052: Container Trait for Resource Allocation on Openshift

Mohid-A opened a new issue #3052:
URL: https://github.com/apache/camel-k/issues/3052


   Hello,
   
   While trying to run a sample hello world program on openshift fails due to the resources allocation issues to the container. Openshift is setup to deny scheduling/creating any pods if deployed with no resource requests and limits are set. I have tried to run the integration using the following command but it doesn't work.
   
   **VERSION**
   
   red-hat-camel-k-operator.v1.6.3
   Camel K Client 1.6.1
   
   **Command to produce the Issue**
   
   `kamel.exe run --trait deployer.kind=deployment --trait container.enabled=true --trait container.request-cpu=50m --trait container.request-memory=50Mi --trait container.limit-cpu=100m --trait container.limit-memory=100Mi --trait container.name=camelk hello.groovy`
   
   **Error Log**
   
   `Error creating build pod: pods "camel-k-kit-c8es8h3soul29r5ppfeg-1-build" is forbidden: failed quota: compute-resources: must specify limits.cpu,limits.memory,requests.cpu,requests.memory`
   
   I am following the documentation https://camel.apache.org/camel-k/1.6.x/traits/container.html to set the resources using container trait, but that doesn't seems to work for me.
   
   Thanks


-- 
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



[GitHub] [camel-k] oscerd closed issue #3052: Container Trait for Resource Allocation on Openshift

Posted by GitBox <gi...@apache.org>.
oscerd closed issue #3052:
URL: https://github.com/apache/camel-k/issues/3052


   


-- 
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



[GitHub] [camel-k] oscerd commented on issue #3052: Container Trait for Resource Allocation on Openshift

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #3052:
URL: https://github.com/apache/camel-k/issues/3052#issuecomment-1055148605


   This is the upstream project. You need to ask to Red Hat support.


-- 
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