Commit Graph

951 Commits

Author SHA1 Message Date
Marcin Wielgus 6818a285b9 Merge pull request #149 from mwielgus/pdb-faq
Update CA FAQ for PDB
2017-06-30 13:56:20 +02:00
Marcin Wielgus 583dfcfc5d Update CA FAQ for PDB 2017-06-30 13:55:11 +02:00
Marcin Wielgus f6df55f64f Merge pull request #146 from mwielgus/expanders
Move expanders documentation to faq
2017-06-29 13:47:59 +02:00
Marcin Wielgus 80f17e1142 Move expanders documentation to faq 2017-06-29 13:25:50 +02:00
MaciekPytel e1390a2e2d Merge pull request #145 from bskiba/cloud_provider
Fix comment in cloud_provider.go
2017-06-29 10:39:17 +02:00
Beata Skiba 5f442d6d71 Fix comment in cloud_provider.go 2017-06-29 10:23:26 +02:00
Marcin Wielgus f0090da97e Merge pull request #142 from mwielgus/relnotes-0.6
Release notes for CA 0.6
2017-06-27 12:31:09 +02:00
Marcin Wielgus 39d28864fd Release notes for CA 0.6 2017-06-27 12:10:54 +02:00
Marcin Wielgus 76faeb5e64 Merge pull request #141 from mwielgus/cluster-autoscaler-0.6
Set CA version to 0.6.0
2017-06-26 18:55:43 +02:00
Marcin Wielgus bf111dd060 Set CA version to 0.6.0 2017-06-26 17:22:32 +02:00
Marcin Wielgus b3e25a968e Merge pull request #139 from MaciekPytel/metrics_update
Change function duration metric to histogram
2017-06-23 13:27:43 +02:00
MaciekPytel 94eb3fcfa6 Merge pull request #140 from mwielgus/0.6.0-beta2
Set version to 0.6.0-beta2
2017-06-23 13:06:53 +02:00
Maciej Pytel 9123400fcf Change function duration metric to histogram
Many functions take an order of magnitude more time
if they actually decide to take an action (like deleting
node in scale-down) and it's ok if executing action is
slow. That makes summary less useful, as we expect to
have large outliers on some percentile, depending on
churn in cluster. Instead having a histogram gives
us the fuller picture of how the distribution of
function runtimes look like.
2017-06-23 12:06:28 +02:00
MaciekPytel 28caf01651 Merge pull request #46 from mumoshu/fix-excessive-describe-asg-calls
cluster-autoscaler: Fix excessive calls to DescribeAutoScalingGroup
2017-06-23 11:58:26 +02:00
Marcin Wielgus 837c27c95a Set version to 0.6.0-beta2 2017-06-23 11:54:24 +02:00
MaciekPytel 4243b4f316 Merge pull request #137 from mumoshu/fix-auto-discovery-when-multi-clusters
cluster-autoscaler: Fix node group auto discovery for AWS not to mix up ASGs from different k8s clusters
2017-06-23 11:43:50 +02:00
MaciekPytel 44e0897fa7 Merge pull request #107 from mumoshu/fix-scale-down
cluster-autoscaler: Fix scale-down when the node group auto-discovery feature is enabled
2017-06-23 11:31:44 +02:00
Marcin Wielgus d055db456e Merge pull request #138 from aleksandra-malinowska/update-toc-fix
Fix removing dash in section title
2017-06-22 13:47:06 +02:00
Marcin Wielgus 6aeb63dc82 Merge pull request #125 from aleksandra-malinowska/scaling-down-small-faq
Update docs regarding system pods eviction
2017-06-22 13:46:15 +02:00
Aleksandra Malinowska 4f40357637 Fix removing dash in section title 2017-06-22 13:00:08 +02:00
Aleksandra Malinowska 361537f6dd Add info on scale down with system pods eviction 2017-06-22 12:31:42 +02:00
Marcin Wielgus 28f68033b1 Merge pull request #136 from mwielgus/drain-comments-fixes
Fix comments in simulator/drain.go
2017-06-22 10:19:36 +02:00
Yusuke Kuoka dfb481b19f cluster-autoscaler: Fix excessive calls to DescribeAutoScalingGroup
By caching AWS refs for nodes/EC2 instances already known to be not in any of ASGs managed by cluster-autoscaler(CA).

Please beware of the edge case - this method is safe as long as users don't attach nodes by calling AttachInstances API after CA cached them. I believe, even if it was necessary, a warning in the documentation about the edge case is enough for now. If we really need to support the case, I will submit an another PR to invalidate the cache periodically so that CA can detect the formerly cached nodes are attached to ASG(s).

Also refactor AwsManager for less complexity by extracting types, accordingly to the discussion made [here](https://github.com/kubernetes/autoscaler/pull/46#discussion_r117912687)
2017-06-22 16:55:15 +09:00
Yusuke Kuoka 3e8cc02243 cluster-autoscaler: Fix node group auto discovery for AWS not to mix up ASGs from different k8s clusters 2017-06-22 15:59:53 +09:00
Yusuke Kuoka 7697d5345a cluster-autoscaler: Fix scale-down when the node group auto-discovery feature is enabled
By fixing CA not to reset `StaticAutoscaler` state before each iteration so that it remembers last scale-up/down time which is used to throttle scale-down, which is causing the issue.
2017-06-22 10:25:37 +09:00
Marcin Wielgus fd2c1670dd Fix comments in simulator/drain.go 2017-06-22 03:00:36 +02:00
Marcin Wielgus ff9ac8e0a4 Merge pull request #128 from x13n/master
Rewrite addon-resizer nanny
2017-06-21 23:20:15 +02:00
Marcin Wielgus 4d8eccd219 Merge pull request #135 from mwielgus/0.6.0-b1
Set version to 0.6.0-beta1
2017-06-21 16:48:00 +02:00
Marcin Wielgus e460923bee Set version to 0.6.0-beta1 2017-06-21 16:29:10 +02:00
Marcin Wielgus cdc8487056 Merge pull request #134 from mwielgus/dont-skip-besteffort
Don't skip node groups that help only besteffort pods in price expander
2017-06-21 16:16:55 +02:00
Marcin Wielgus ddb04529e9 Don't skip node groups that help only besteffort pods in price expander 2017-06-21 15:47:47 +02:00
Daniel Kłobuszewski 6c727998ec Build pod_nanny in a container. 2017-06-21 15:26:16 +02:00
Daniel Kłobuszewski 93942efb75 Rewrite addon-resizer nanny
There will be a single estimator class, providing two ranges: acceptable
and recommended range. As long as current pod requirements and limits fall into
acceptable range, nothing happens. Once either limits or requirements
fall out of acceptable range, they are both updated to lower (when
upscaling) or higher (when downscaling) end of recommended range. This
approach prevents flapping, which took place in previous implementation,
when cluster size oscillated around certain values.

Also, fix the code to actually use poll-period flag.
2017-06-21 10:48:56 +02:00
Marcin Wielgus 4d01a8842e Merge pull request #130 from mwielgus/move-builder-up
Move docker builder image to the top of the repository
2017-06-20 18:41:18 +02:00
Marcin Wielgus d5728dc6a7 Move docker builder image to the top of the repository 2017-06-20 17:28:00 +02:00
Marcin Wielgus 4e8d297c4c Merge pull request #129 from mwielgus/unmanaged
Don't calculate utilisation and run scale down simulations for unmanaged nodes
2017-06-20 17:18:16 +02:00
Marcin Wielgus 2cd532ebfe Don't calculate utilization and run scale down simulations for unmanaged nodes 2017-06-20 16:57:30 +02:00
Marcin Wielgus 883253eb7f Merge pull request #126 from johanneswuerbach/patch-1
AWS: Fixed link to the detailed explanation
2017-06-20 16:00:37 +02:00
Johannes Würbach 2ad85f224e AWS: Fixed link to the detailed explanation
https://github.com/kubernetes/contrib/pull/1552#r75532949 seems to explain the reasoning behind multiple ASGs much better then the previous link target.
2017-06-19 14:34:10 +02:00
Marcin Wielgus 7b3a75c294 Merge pull request #124 from MaciekPytel/ca_0_6_faq
CA 0.6 FAQ update
2017-06-19 10:43:43 +02:00
Maciej Pytel 061ddb8f6a Add metric and livenessProbe endpoints to FAQ 2017-06-16 15:18:07 +02:00
Maciej Pytel fd16f1dff7 Add link to 0.5 version of FAQ 2017-06-16 15:18:07 +02:00
Maciej Pytel 7bba53a5d9 Add FAQ question about balancing similar node groups 2017-06-16 15:18:07 +02:00
Marcin Wielgus 7209e2f52e Merge pull request #123 from mwielgus/addon-readme
Update the main README.md for Addon Resizer
2017-06-16 15:09:25 +02:00
Marcin Wielgus c2a68f9a26 Update the main README.md for Addon Resizer 2017-06-16 14:50:00 +02:00
Marcin Wielgus ac6cc9f15f Merge pull request #122 from MaciekPytel/nicer_faq
Divide CA's FAQ TOC to sections
2017-06-16 14:02:20 +02:00
Maciej Pytel 46ae19b121 Divide CA's FAQ TOC to sections
As the CA FAQ is growing it was getting hard to navigate. This
will make FAQ table of contents reflect different sections to make
it easier to navigate.
2017-06-16 12:31:06 +02:00
Marcin Wielgus e1eda785ab Merge pull request #121 from mwielgus/add-addon
Merge addon resizer into kubernetes/autoscaler
2017-06-16 10:22:28 +02:00
Marcin Wielgus ecd62c5d95 Fix imports in pod nanny 2017-06-16 09:30:10 +02:00
Marcin Wielgus 55a7baa522 Merge remote-tracking branch 'remotes/mwcontrib/onlyaddon' into add-addon 2017-06-16 08:40:46 +02:00