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
fix(policies): support for resource requests on side-cars #889
Conversation
Ref: openebs/openebs#2294 With 0.7.0, there was support for configuring resource limits on the pool and volume pod side-cars using AuxilaryResourceLimits. With this PR, added the support to specify AuxilaryResourceRequests. This feature is useful in cases where user has to specify minimum requests like ephemeral storage etc. to avoid erroneous eviction by K8s as described in the above issue. Also, some of the resource types are very version dependent so keeping this as generic and not providing any defaults in this PR. In the future, it is possible that OpenEBS Operator could automatically determine the version and set default values on the generated default Storage Class. Signed-off-by: kmova <kiran.mova@openebs.io>
Codecov Report
@@ Coverage Diff @@
## master #889 +/- ##
==========================================
+ Coverage 42.06% 42.08% +0.02%
==========================================
Files 141 141
Lines 9309 9309
==========================================
+ Hits 3916 3918 +2
+ Misses 5125 5124 -1
+ Partials 268 267 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Ref: openebs/openebs#2294 With 0.7.0, there was support for configuring resource limits on the pool and volume pod side-cars using AuxilaryResourceLimits. With this PR, added the support to specify AuxilaryResourceRequests. This feature is useful in cases where user has to specify minimum requests like ephemeral storage etc. to avoid erroneous eviction by K8s as described in the above issue. Also, some of the resource types are very version dependent so keeping this as generic and not providing any defaults in this PR. In the future, it is possible that OpenEBS Operator could automatically determine the version and set default values on the generated default Storage Class. Signed-off-by: kmova <kiran.mova@openebs.io> (cherry picked from commit 9f12a28)
Ref: openebs/openebs#2294
With 0.7.0, there was support for configuring resource
limits on the pool and volume pod side-cars using
AuxiliaryResourceLimits. With this PR, added the support
to specify AuxilaryResourceRequests.
This feature is useful in cases where user has to specify
minimum requests like ephemeral storage etc. to avoid
erroneous eviction by K8s as described in the above issue.
Also, some of the resource types are very version dependent
so keeping this as generic and not providing any defaults in
this PR.
In the future, it is possible that OpenEBS Operator could
automatically determine the version and set default values
on the generated default Storage Class.
Signed-off-by: kmova kiran.mova@openebs.io
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: