Skip to content
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

Use requests instead of limits for determining Xmx #2225

Merged
merged 2 commits into from Nov 26, 2019

Conversation

sknot-rh
Copy link
Member

@sknot-rh sknot-rh commented Nov 21, 2019

Signed-off-by: Stanislav Knot sknot@redhat.com

Type of change

  • Bugfix

Description

Fixes #2203

It was not clear for me, how the setting of ENV_VAR_DYNAMIC_HEAP_MAX worked with the user's value. Please take a look and feel free to describe how it should work.

Checklist

  • Update/write design documentation in ./design
  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md

@sknot-rh sknot-rh added this to the 0.15.0 milestone Nov 21, 2019
@tombentley
Copy link
Member

How have you tested this?

@scholzj scholzj self-requested a review November 25, 2019 09:20
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -Xmx and -Xms have IMHO no direct relationship to the request and limit. Request is requested (and guaranteed memory) where as limit is basically a burst memory which might or might not be available.

@sknot-rh sknot-rh force-pushed the use-requests-instead-limits branch 2 times, most recently from 41bd2a4 to a79bc5c Compare November 25, 2019 10:55
@scholzj scholzj modified the milestones: 0.15.0, 0.16.0 Nov 25, 2019
@scholzj
Copy link
Member

scholzj commented Nov 26, 2019

@stanlyDoge Could you add this to the CHANGELOG and make it clear what exactly changed and how does it impact the users??

Signed-off-by: Stanislav Knot <sknot@redhat.com>
Signed-off-by: Stanislav Knot <sknot@redhat.com>
@scholzj scholzj merged commit 9b09c7b into strimzi:master Nov 26, 2019
@sknot-rh sknot-rh deleted the use-requests-instead-limits branch November 27, 2019 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] -Xmx for pods whould not be determined from memory limit but memeory request
4 participants