You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: