Marcin Wielgus
19507aa0de
Node autoprovisioning flag
2017-08-31 00:48:54 +02:00
Marcin Wielgus
b172926b5e
NodeGroupCreate for gce cloud provider
2017-08-31 00:48:40 +02:00
Marcin Wielgus
9a4c15daaa
Merge pull request #275 from mwielgus/nap-4
...
Create and delete node pool operations for gce_manager
2017-08-30 16:55:44 +05:30
Marcin Wielgus
f8ede4cefd
Lint fixes and debug level adjustment in gce cloud provider
2017-08-30 10:53:29 +02:00
Marcin Wielgus
1ba1acf6c3
Merge pull request #274 from mwielgus/makefilie-fix
...
Compile only what is needed when building a docker image
2017-08-30 14:11:38 +05:30
Marcin Wielgus
fbf0d6f499
Merge pull request #271 from aleksandra-malinowska/creator-ref
...
Use OwnerReferences in place of deprecated created by annotation
2017-08-30 04:21:58 +05:30
Marcin Wielgus
ba5b6a321c
Merge pull request #276 from praseodym/minor-fixes
...
Minor fixes
2017-08-30 04:18:50 +05:30
Mark Janssen
f53fb8b6ed
Minor fixes
2017-08-29 23:11:35 +02:00
Marcin Wielgus
61386eed7f
Create node pool operation for gce manager
2017-08-29 22:35:42 +02:00
Marcin Wielgus
bc970fdd94
Node pool delete
2017-08-29 22:14:07 +02:00
Marcin Wielgus
f97b1a5b60
Unregister non-existing migs from gce_manager
2017-08-29 20:21:28 +02:00
Marcin Wielgus
36148b02b8
Don't allow node group information in GKE
2017-08-29 19:42:01 +02:00
Marcin Wielgus
e7176dc9b7
Compile only what is needed building a docker image
2017-08-29 19:36:28 +02:00
Marcin Wielgus
41acd4cd16
Merge pull request #270 from MaciekPytel/use_predicate_metadata
...
precompute predicateMetadata in scale-down
2017-08-29 22:30:26 +05:30
Marcin Wielgus
540960117c
Merge pull request #272 from mwielgus/fix-basename
...
Fix basename population in gce manager
2017-08-29 22:26:19 +05:30
Marcin Wielgus
6bf7012bf8
Fix basename population in gce manager
2017-08-29 18:31:39 +02:00
Aleksandra Malinowska
ac0d8388bc
use OwnerReferences instead of deprecated created by annotation
2017-08-29 17:26:38 +02:00
Maciej Pytel
281afa7147
precompute predicateMetadata in scale-down
2017-08-29 16:29:45 +02:00
Marcin Wielgus
81e9226d17
Merge pull request #267 from mwielgus/gke-cp-1
...
Add GKE mode to GCE cloud provider
2017-08-29 18:26:07 +05:30
Marcin Wielgus
76ebca9d25
Error handling in gce/gke
2017-08-29 14:27:43 +02:00
Marcin Wielgus
e93421f43e
Proper locking around migs in gce manager
2017-08-29 12:54:11 +02:00
Marcin Wielgus
3d55a669ce
Merge pull request #268 from drinktee/master
...
add kubeconfig flag to create kube-client
2017-08-29 16:14:36 +05:30
chenguoyan01
403cd8a11e
add kubeconfig flag to create kube-client
2017-08-29 15:41:32 +08:00
Marcin Wielgus
c71fd1b37b
Dont duplicate migs in GCE cloud provider, store them only in manager
2017-08-28 21:41:24 +02:00
Marcin Wielgus
0394b2c06b
Godep for GKE api
2017-08-28 20:56:13 +02:00
Marcin Wielgus
51a5ad58c0
GKE NodePool support for NAP - get NP/Migs via api - part 1
2017-08-28 20:50:02 +02:00
Marcin Wielgus
0e191ef68d
Merge pull request #266 from mwielgus/graceful
...
Don't increase pod graceful termination
2017-08-28 20:52:20 +05:30
Marcin Wielgus
191d140107
Don't increase pod graceful termination
2017-08-28 16:54:19 +02:00
Marcin Wielgus
6ad7ca21e8
Merge pull request #265 from MaciekPytel/ignore_unneded_if_min_size
...
Skip nodes in min-sized groups in scale-down simulation
2017-08-28 19:40:53 +05:30
Marcin Wielgus
9e2c76551f
Merge pull request #263 from mwielgus/delete-in-goroutine
...
Run node drain/delete in a separate goroutine
2017-08-28 19:39:57 +05:30
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