Commit Graph

1215 Commits

Author SHA1 Message Date
Maciej Pytel 2f6dd8aefc Skip nodes in min-sized groups in scale-down simulation
Currently we track if those nodes can be removed and only
skip them at the execution step. Since checking if node is
unneeded is pretty expensive it's better to filter them out
early.
2017-08-28 15:48:41 +02:00
Marcin Wielgus a27e007dff Merge pull request #264 from mwielgus/node-on-bench
Dont block scale downs if no nodes can be removed
2017-08-28 15:46:11 +05:30
Marcin Wielgus 718e5db78e Run node drain/delete in a separate goroutine 2017-08-28 12:12:31 +02:00
Marcin Wielgus 6f00793cb3 Merge pull request #262 from mwielgus/nap-3
GCE node templates refactoring
2017-08-28 14:54:58 +05:30
Marcin Wielgus 71b4ca5461 Dont block stale downs if no nodes can be removed 2017-08-26 16:29:50 +02:00
Marcin Wielgus 540ef661d8 GCE node templates refactoring 2017-08-26 14:40:11 +02:00
Marcin Wielgus d61b0bbcfc Merge pull request #260 from mwielgus/nap-2
Node autoprovisioning - CP interface impl - part 2
2017-08-26 00:06:56 +05:30
Marcin Wielgus c2f039c7a6 Node autoprovisioning - CP interface impl - part 2 2017-08-25 17:53:53 +02:00
Marcin Wielgus 1a32ea4172 Merge pull request #261 from MaciekPytel/dont_retry_drain_every_loop
Skip node in scale-down if it was recently found unremovable
2017-08-25 21:13:45 +05:30
Maciej Pytel fa53e52ed9 Skip node in scale-down if it was recently found unremovable 2017-08-25 17:21:08 +02:00
Marcin Wielgus 55060c670e Merge pull request #259 from andyxning/fix_addon-resizer_backword_image_deletion
fix addon_resizer backword image deletion
2017-08-25 18:43:22 +05:30
Marcin Wielgus 72924df3ed Merge pull request #258 from mwielgus/nap-1
NAP interface implementation - part 1
2017-08-25 15:16:37 +05:30
Marcin Wielgus ac2c471eb1 NAP interface implementation - part 1 2017-08-25 11:17:50 +02:00
Andy Xie 8ba26c8c45 fix addon_resizer backword image deletion 2017-08-25 11:57:22 +08:00
Marcin Wielgus 21c575f0ac Merge pull request #255 from MaciekPytel/optional_error_formatting
Don't create verbose errors in predicates if we ignore them
2017-08-24 19:10:02 +05:30
Maciej Pytel fb6ef75d12 Don't create verbose errors in predicates if we ignore them
Turns out all this string formatting is pretty damn expensive.
2017-08-24 15:18:38 +02:00
Marcin Wielgus ad0be8a0b8 Merge pull request #256 from locriani/patch-1
Update main.go
2017-08-24 18:13:53 +05:30
Zach Gardner 8c23346c72 Update main.go
Fix a typo (`waints` -> `waits`
2017-08-24 05:19:24 -07:00
Marcin Wielgus a6372abca9 Merge pull request #253 from MaciekPytel/optimize_predicate_order
Run basic predicates first in every check
2017-08-23 18:21:35 +05:30
Maciej Pytel 3eda8641bd Always run PodFitsResources predicate first 2017-08-23 13:11:28 +02:00
Maciej Pytel 552253cb60 Run basic predicates first in every check
Previously CA run predicates in random order, this change makes it
run them starting with relatively cheap and most likely to fail
predicates, to avoid running more complex ones if they're not required.
2017-08-23 12:12:27 +02:00
Beata Skiba 3e1ab7fa6a Merge pull request #249 from bskiba/fos
Add measuring of FilterOutSchedulable
2017-08-22 19:00:01 +02:00
Beata Skiba edeb522274 Add measuring of FilterOutSchedulable 2017-08-22 18:36:13 +02:00
Beata Skiba 2ae609b93a Merge pull request #237 from bskiba/split_scale_down
Drill down scale down metrics
2017-08-22 16:41:55 +02:00
Beata Skiba 43c9b6b06b Add cleaner function labels for metrics exporting. 2017-08-22 16:09:42 +02:00
Beata Skiba 44f69c6706 Extract deleting empty nodes to a separate function. 2017-08-22 16:09:42 +02:00
Beata Skiba 3e578ddd4a Merge pull request #243 from bskiba/cloud_provider_k8s
Cloud Provider Interface for Kubemark
2017-08-22 15:45:07 +02:00
Beata Skiba 596b165808 Cloud Provider Interface for Kubemark
This allows to run Custer Autoscaler on Kubemark.
See autoscaler/cluster-autoscaler/proposals/kubemark_integration.md
for more details.
2017-08-22 15:19:10 +02:00
MaciekPytel fa657356fb Merge pull request #244 from rushtehrani/display-pod-name
Print pod namespace/name instead of func signature
2017-08-22 11:14:25 +02:00
MaciekPytel 876e85682f Merge pull request #242 from Rajadeepan/Rajadeepan-patch-1
Fix minor typo
2017-08-22 09:56:51 +02:00
Rush Tehrani dc65cd1058 Print pod namespace/name instead of func signature 2017-08-21 14:41:35 -07:00
Rajadeepan D Ramesh ce9649aac6 Fix minor typo
Fix minor typo
2017-08-21 23:53:24 +05:30
Marcin Wielgus e094957ec3 Merge pull request #239 from MaciekPytel/optimize_filteroutschedulable
Re-use results for similar pods in FilterOutSchedulable
2017-08-21 20:12:05 +05:30
Maciej Pytel d2faf11482 Re-use results for similar pods in FilterOutSchedulable 2017-08-21 16:32:14 +02:00
Marcin Wielgus bcfc1f3f8d Merge pull request #240 from mwielgus/kubemark_linux
Split kubemark cloud provider implementation to linux and non-linux
2017-08-21 15:46:37 +05:30
Marcin Wielgus e8ccf80543 Merge pull request #241 from Lion-Wei/patch-1
Update README.md
2017-08-21 15:45:57 +05:30
Marcin Wielgus 2a3e6b498e Split kubemark cloud provider implementation to linux and non-linux 2017-08-21 11:48:20 +02:00
Lion-Wei 009665e7e6 Update README.md 2017-08-19 12:05:36 +08:00
Marcin Wielgus 74f5db84fb Merge pull request #238 from mwielgus/nap_cp_api
Node Autoprovisioning expansion of CloudProvider api
2017-08-18 19:41:03 +05:30
Marcin Wielgus f5831c8fc9 Merge pull request #235 from mwielgus/dockerbuilder
Add libseccomp-dev to dockerbuilder
2017-08-18 19:19:06 +05:30
Marcin Wielgus a766f676ba Node Autoprovisioning expansion of CloudProvider api 2017-08-18 15:34:24 +02:00
Beata Skiba 14df1b808b Drill down scale down metrics
Split scale down duration into three parts:
1. Find nodes to remove
2. Node deletion
3. Misc operations
2017-08-18 14:17:02 +02:00
Marcin Wielgus 139b6955d5 Merge pull request #236 from mwielgus/update-godeps-faq
Godep update in FAQ
2017-08-18 17:12:24 +05:30
Marcin Wielgus 9453c09fa9 Godep update in FAQ 2017-08-18 13:02:24 +02:00
Marcin Wielgus 6a4c945703 Add libseccomp-dev to dockerbuilder 2017-08-18 12:21:29 +02:00
Marcin Wielgus 728cbd315d Merge pull request #232 from mwielgus/godeps-kubemark
Update dependencies for kubemark
2017-08-18 15:37:25 +05:30
Marcin Wielgus 139e21046e Fix kubemark boilerplate 2017-08-18 11:43:53 +02:00
Marcin Wielgus fcbd6e1ef5 Comments on blank imports 2017-08-18 11:32:18 +02:00
Marcin Wielgus 4570f5a206 Libseccomp install 2017-08-18 11:15:28 +02:00
Marcin Wielgus caed0eee6c Merge pull request #229 from mwielgus/remove-azure
Remove Azure support
2017-08-18 14:01:23 +05:30