summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Szczesniak <pszczesniak@google.com>2015-08-24 11:00:00 +0200
committerPiotr Szczesniak <pszczesniak@google.com>2015-08-24 11:00:00 +0200
commit08be1edd38f5795fc767e551b7e0606f835eca99 (patch)
treece1a89e5c135dbae684a78c64a78ecd30ae20db9
parent06f7d78116ba05571afd9da08a76b4c6a7bdfbd7 (diff)
Added possible improvement to Initial Resources proposal
-rw-r--r--initial-resources.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/initial-resources.md b/initial-resources.md
index efd7e2e1..8ab2a46c 100644
--- a/initial-resources.md
+++ b/initial-resources.md
@@ -77,7 +77,7 @@ If there is still no data the default value will be set by LimitRanger. Same par
#### Example
-For example, if we have at least 60 samples from image:tag over the past 7 days, we will use the 90th percentile of all of the samples of image:tag over the past 7 days.
+If we have at least 60 samples from image:tag over the past 7 days, we will use the 90th percentile of all of the samples of image:tag over the past 7 days.
Otherwise, if we have at least 60 samples from image:tag over the past 30 days, we will use the 90th percentile of all of the samples over of image:tag the past 30 days.
Otherwise, if we have at least 1 sample from image over the past 30 days, we will use that the 90th percentile of all of the samples of image over the past 30 days.
Otherwise we will use default value.
@@ -99,6 +99,7 @@ The first version will be quite simple so there is a lot of possible improvement
and should be introduced shortly after the first version is done:
* observe OOM and then react to it by increasing estimation
+* add possibility to specify if estimation should be made, possibly as ```InitialResourcesPolicy``` with options: *always*, *if-not-set*, *never*
* add other features to the model like *namespace*
* remember predefined values for the most popular images like *mysql*, *nginx*, *redis*, etc.
* dry mode, which allows to ask system for resource recommendation for a container without running it