Skip to content

CHE-11097: Allow setting sidecar memory limit in ws attributes#11323

Merged
garagatyi merged 1 commit intoeclipse-che:masterfrom
garagatyi:overrideSidecarMemLimit
Sep 24, 2018
Merged

CHE-11097: Allow setting sidecar memory limit in ws attributes#11323
garagatyi merged 1 commit intoeclipse-che:masterfrom
garagatyi:overrideSidecarMemLimit

Conversation

@garagatyi
Copy link
Copy Markdown

@garagatyi garagatyi commented Sep 24, 2018

What does this PR do?

Adding workspace config attribute
sidecar.<name of a sidecar from plugin definition>.memory_limit
overrides sidecar memory limit with the value of the attribute
converted to bytes number.
Example:
Attribute sidecar.theia-ide.memory_limit": "300Mi sets Theia ide
sidecar container memory limit to 314572800 bytes.

What issues does this PR fix or reference?

Related to #11097

Release Notes

Docs PR

Adding workspace config attribute
"sidecar.<name of a sidecar from plugin definition>.memory_limit"
overrides sidecar memory limit with the value of attribute
converted to bytes number.
Example:
Attribute "sidecar-theia-ide-memory_limit": "300Mi" sets Theia ide
sidecar container memory limit to 314572800 bytes.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Sep 24, 2018
@garagatyi
Copy link
Copy Markdown
Author

ci-build

@garagatyi garagatyi merged commit 96a5ec7 into eclipse-che:master Sep 24, 2018
@garagatyi garagatyi deleted the overrideSidecarMemLimit branch September 24, 2018 12:10
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Sep 24, 2018
@benoitf benoitf added this to the 6.12.0 milestone Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/task Internal things, technical debt, and to-do tasks to be performed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants