Commit Graph

1215 Commits

Author SHA1 Message Date
Xiang 5f610efcdc eviction: cleanup 2017-06-30 15:58:47 -07:00
Xiang 15694da4dc priority: cleanup 2017-06-30 14:57:54 -07:00
Marcin Wielgus 4974f388ae Merge pull request #155 from xiang90/clean
updater: cleanup updater.go
2017-06-30 23:21:30 +02:00
Marcin Wielgus 8f92086c41 Merge pull request #156 from xiang90/recommender
recommender: cleanup
2017-06-30 23:20:26 +02:00
Xiang 0a0664421e recommender: cleanup 2017-06-30 13:04:43 -07:00
Xiang b6b2b1451f updater: cleanup updater.go 2017-06-30 12:51:04 -07:00
Marcin Wielgus 37367eef84 Merge pull request #154 from bskiba/kubemark
Kubemark integration proposal.
2017-06-30 17:11:49 +02:00
Beata Skiba e582a1745b Kubemark integration proposal. 2017-06-30 15:57:58 +02:00
Marcin Wielgus 654c8cfcdd Merge pull request #152 from mwielgus/faqup
Move FAQ up in README for better discoverability
2017-06-30 14:55:36 +02:00
Marcin Wielgus aca272671d Move FAQ up in README for better discoverability 2017-06-30 14:36:28 +02:00
Marcin Wielgus d5868f335d Merge pull request #151 from MaciekPytel/remove_trailing_lines_faq
Fix update_toc.py script to stop appending empty lines
2017-06-30 14:20:09 +02:00
Maciej Pytel 94528ab209 Fix update_toc.py script to stop appending empty lines 2017-06-30 14:18:18 +02:00
Marcin Wielgus de1f95f302 Merge pull request #150 from mwielgus/crosslinks
FAQ-ReleaseNotes cross links
2017-06-30 14:14:01 +02:00
Marcin Wielgus 7fdb7741de FAQ-ReleaseNotes cross links 2017-06-30 14:09:22 +02:00
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