summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-Ju Hong <yjhong@google.com>2015-08-26 15:19:39 -0700
committerYu-Ju Hong <yjhong@google.com>2015-08-26 15:19:39 -0700
commit520a6096eacfe74a93c5ae188ce12bbf9bfac369 (patch)
tree6e4bbea10d8315768f035660177d1f641420d98a
parent8c06052254007660e92112f188cbcdbfb2023eac (diff)
parent08be1edd38f5795fc767e551b7e0606f835eca99 (diff)
Merge pull request #13082 from piosz/initial-proposal
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