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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to