1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00
Commit Graph

244 Commits

Author SHA1 Message Date
Avesh Agarwal
445ae92caa Merge pull request #59 from aveshagarwal/master-fix-errors
Update logging and a few fixes.
2017-12-01 13:19:36 -05:00
Avesh Agarwal
8f3c0cf4b8 Merge pull request #58 from aveshagarwal/master-fix-node-lister
Fix node lister by allowing its reflector to have enough time so that listing works.
2017-12-01 13:02:17 -05:00
Avesh Agarwal
2a280f9a20 Update logging and a few fixes. 2017-12-01 13:02:05 -05:00
Avesh Agarwal
0503f53904 Merge pull request #57 from aveshagarwal/master-fix-pod-listing
Fix field selector to only list non-terminated pods.
2017-12-01 12:58:50 -05:00
Avesh Agarwal
e0a9dfcb76 Fix field selector to only list non-terminated pods. 2017-12-01 12:50:39 -05:00
Avesh Agarwal
5db49f2ce1 Fix node lister by allowing its reflector to have enough time so that listing works.
Currently time duration is chosen randomly.
2017-11-30 12:28:33 -05:00
Avesh Agarwal
582bd67681 Merge pull request #49 from ravisantoshgudimetla/podlist-refactor
Small refactor to accomodate descheduling only evictable pods
2017-11-29 15:48:04 -05:00
ravisantoshgudimetla
a63f815116 Small refactor to accomodate descheduling only evictable pods
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2017-11-29 15:34:28 -05:00
Avesh Agarwal
afc17a62ea Merge pull request #45 from ravisantoshgudimetla/lownodeutilization-fix#43
Changes to fix low node utilization strategy
2017-11-27 18:47:42 -05:00
ravisantoshgudimetla
6dbc8a1fcc Changes to fix low node utilization strategy 2017-11-27 18:40:53 -05:00
RaviSantosh Gudimetla
d2bd16a12d Merge pull request #41 from containscafeine/error-out-on-unsupported-resource-names
Validate resource names to pass to thresholds
2017-11-27 12:35:30 -05:00
Avesh Agarwal
955d0eb228 Merge pull request #36 from ravisantoshgudimetla/flag-fix
kubeconfig file correction
2017-11-27 11:15:27 -05:00
Shubham Minglani
a490726245 Validate resource names to pass to thresholds
This commit adds checks to only allow valid resource names for the
thresholds field, which are "cpu", "memory", and "pods" right now.

For the other valid or invalid resource names, descheduler will now
throw an error.

Also, tests have been added to test the added behavior.

fix #40
2017-11-27 19:54:53 +05:30
RaviSantosh Gudimetla
16a504fb87 Merge pull request #44 from containscafeine/log-underutilized-and-target-nodes
Add log messages for target, underutilized nodes
2017-11-26 11:55:26 -05:00
Shubham Minglani
d54b73a6ba Add log messages for target, underutilized nodes
This commit adds log messages to be printed whenever a node is
identified as a target node from which the pods can be evicted or
as an underutilized node to which the evicted pods can be
scheduled, if at all.

This should help with debugging as well as with letting the user
know the identified nodes.
2017-11-25 19:49:05 +05:30
ravisantoshgudimetla
344dc0f3c2 kubeconfig file correction 2017-11-20 22:40:15 -05:00
Avesh Agarwal
9f38146bbf Merge pull request #34 from aveshagarwal/master-remove-deadcode
Remove unused test code.
v0.3.0
2017-11-10 17:06:05 -05:00
Avesh Agarwal
1473e1d024 Remove unused test code. 2017-11-10 16:18:07 -05:00
Avesh Agarwal
7b4b9d9e7e Merge pull request #35 from aveshagarwal/master-fixes
Fix to not process empty node list and also fix error reporting in other places.
2017-11-10 16:14:11 -05:00
Avesh Agarwal
7d079813e5 Fix to not process empty node list and also fix error reporting in other places.
Also fix unit test panic and if nodeLister is nil and refactor some code.
2017-11-10 16:09:33 -05:00
Avesh Agarwal
e02857e00a Merge pull request #33 from aveshagarwal/master-node-selector
Implement node selectors to retrieve node list based on provided query.
2017-11-10 12:11:10 -05:00
Avesh Agarwal
acfd4f8680 Update auto-generated files. 2017-11-10 12:02:43 -05:00
Avesh Agarwal
c29c9db41e Implement node selectors to retrieve node list based on provided query. 2017-11-10 12:02:43 -05:00
Avesh Agarwal
5d3f987dde Merge pull request #20 from ravisantoshgudimetla/pod-anti-affinity-strategy
Pod antiaffinity strategy
2017-11-08 10:19:16 -05:00
ravisantoshgudimetla
97732cf62d Pod antiaffinity strategy.
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2017-11-02 18:09:44 -04:00
Avesh Agarwal
4afc4dfb16 Merge pull request #25 from ravisantoshgudimetla/descheduler-version
Introducing versioning in descheduler
2017-10-25 17:11:07 -04:00
ravisantoshgudimetla
023ccd99f5 Introducing versioning in descheduler
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2017-10-24 15:45:45 -04:00
Avesh Agarwal
dd831d0d03 Merge pull request #28 from aveshagarwal/master-rebase
Rebase to kubernetes 1.7.6
v0.2.0
2017-10-16 16:08:57 -04:00
Avesh Agarwal
04dd7a5902 Update vendor dir for rebasing kubernetes to 1.7.6. 2017-10-16 14:44:28 -04:00
Avesh Agarwal
d395332793 Update glide.yaml for rebasing kuberenetes to 1.7.6. Also fix
unit tests.
2017-10-16 14:42:17 -04:00
Avesh Agarwal
73d9803a46 Merge pull request #27 from aveshagarwal/master-fixes
Fix glog messages.
2017-10-11 13:44:32 -04:00
Avesh Agarwal
40a19396d0 Fix glog messages. 2017-10-11 11:49:59 -04:00
Avesh Agarwal
10593fa427 Merge pull request #26 from aveshagarwal/master-readme-update
Update readme with description to run descheduler as a job inside a pod.
2017-10-11 08:55:32 -04:00
Avesh Agarwal
257312929e Update readme with description to run descheduler as a job inside a pod. 2017-10-11 08:48:02 -04:00
Avesh Agarwal
6aa10f2169 Merge pull request #22 from ravisantoshgudimetla/introduce-gofmt
Introducing gofmt
2017-10-05 16:33:44 -04:00
ravisantoshgudimetla
9e536da99e Commit for gofmt
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2017-10-05 16:03:28 -04:00
Avesh Agarwal
b272dbec29 Merge pull request #21 from aveshagarwal/master-owner-fix
Update owners file.
2017-10-05 15:21:46 -04:00
Avesh Agarwal
70e45297bc Update owners file. 2017-10-05 14:35:26 -04:00
Avesh Agarwal
8007f4af20 Merge pull request #19 from ravisantoshgudimetla/introduce-glog
Conversion to glog
2017-10-04 14:40:19 -04:00
ravisantoshgudimetla
32c8898ec7 Conversion to glog
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>

Conversion to glog
2017-10-04 12:17:44 -04:00
Avesh Agarwal
e662d717df Merge pull request #18 from aveshagarwal/master-strategy-update
Update pods eviction strategy in low node utilization strategy to consider cpu and memory in addition to pods.
v0.1.0
2017-10-02 17:51:30 -04:00
Avesh Agarwal
1977b92b20 Update eviction strategy of pods in low node utilization strategy to
consider cpu and memory too in addition to pods.
2017-10-02 17:39:51 -04:00
Avesh Agarwal
a47aeefdde Merge pull request #17 from aveshagarwal/master-strategy-update
Update low node utilization strategy to evict busrtable pods before guaranteed pods.
2017-10-02 11:59:43 -04:00
Avesh Agarwal
01545886b4 Update low node utilization stratgey to evict busrtable pods before
guaranteed pods.
2017-10-02 10:58:07 -04:00
Avesh Agarwal
f2d0b7a684 Merge pull request #16 from aveshagarwal/master-fix-number-evicted-pods
Fix computation of number of evicted pods.
2017-09-27 19:01:22 -04:00
Avesh Agarwal
179646a332 Fix computation of number of evicted pods. 2017-09-27 18:32:19 -04:00
Avesh Agarwal
2161b3b3e7 Merge pull request #15 from aveshagarwal/master-dry-run
Add dry run option
2017-09-26 17:12:02 -04:00
Avesh Agarwal
2d6e990f1c Update auto generated code. 2017-09-26 16:15:44 -04:00
Avesh Agarwal
b7a7fd621e Add dry run option. 2017-09-26 16:15:44 -04:00
Avesh Agarwal
14fe084949 Merge pull request #13 from aveshagarwal/master-container-image
Create dockerfile and update makefile to build container image.
2017-09-25 15:16:31 -04:00