-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set JAVA_OPTS
or MAVEN_OPTS
in kubernetes component of devfile
#13340
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/blocker
Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Milestone
Comments
sleshchenko
added
kind/bug
Outline of a bug - must adhere to the bug report template.
status/open-for-dev
An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
labels
May 15, 2019
@sleshchenko @skabashnyuk I missed this issue. I think it's an important one to fix during this sprint. Adding |
l0rd
added
target/che7GA
severity/P1
Has a major impact to usage or development of the system.
labels
Jun 14, 2019
@sleshchenko I guess this is true for any type of devfile component, not only for kubernetes right? |
@ibuziuk This explains the issue you were having. |
it depends on
Will be fixed by
|
l0rd
added
severity/blocker
Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
target/che7GA
and removed
target/che7GA
severity/P1
Has a major impact to usage or development of the system.
status/open-for-dev
An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
labels
Jun 27, 2019
should be fixed by #13612 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/blocker
Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Description
Unable to set
JAVA_OPTS
orMAVEN_OPTS
in kubernetes component of devfile since Che Server overrides it with its owns values.Reproduction Steps
Devfile
server
container.MAVEN_OPTS
env var.Expected: MAVEN_OPTS=-Xmx1500m
Actual: Value from Che Server configuration
-XX:MaxRAM=150m -XX:MaxRAMFraction=2 -... -Djava.security.egd=file:/dev/./urandom
https://github.com/eclipse/che/blob/master/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties#L80
And as result maven build fails with
Out of memory
The text was updated successfully, but these errors were encountered: