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
The maven_command sets mavne's artifact and execution threads to the value of GOMAXPROCS however, The Go runtime doesn’t know it’s running in k8s hence, GOMAXPROCS reports the number of cores on the node:
This seems to be wrong an could potential lead to misbehavior as maven is configured to use more resources than what is actually available for the Pod.
Steps to reproduce
start minikube with i.e. half of the cores available
observe an integration build logs
you should see that the maven's -T flag has a value greater than the number of the configured cores
The text was updated successfully, but these errors were encountered:
What happened?
The maven_command sets mavne's artifact and execution threads to the value of
GOMAXPROCS
however, The Go runtime doesn’t know it’s running in k8s hence,GOMAXPROCS
reports the number of cores on the node:camel-k/pkg/util/maven/maven_command.go
Lines 92 to 98 in 37fb704
This seems to be wrong an could potential lead to misbehavior as
maven
is configured to use more resources than what is actually available for thePod
.Steps to reproduce
-T
flag has a value greater than the number of the configured coresThe text was updated successfully, but these errors were encountered: