forked from openebs-archive/maya
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(policies): support for resource requests on side-cars (openebs-ar…
…chive#889) 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)
- Loading branch information
Showing
3 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters