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

2233 Commits

Author SHA1 Message Date
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
Avesh Agarwal
20e5cccb11 Create dockerfile and update makefile to build descheduler container image. 2017-09-25 14:08:07 -04:00
Avesh Agarwal
c235ea2f08 Merge pull request #14 from aveshagarwal/master-travis-issue
Fix travis yaml file.
2017-09-25 14:04:55 -04:00
Avesh Agarwal
78ec5d874b Update travis yaml file. 2017-09-25 12:42:46 -04:00
Avesh Agarwal
65f9bc3755 Fix travis yaml file. 2017-09-25 10:53:51 -04:00
Avesh Agarwal
cc65127930 Merge pull request #9 from ravisantoshgudimetla/travis-testing
Travis integration for unit tests
2017-09-22 15:14:26 -04:00
ravisantoshgudimetla
82fdb3b296 Travis integration for unit tests 2017-09-15 21:32:26 -04:00
Avesh Agarwal
8e5a8b3b18 Merge pull request #10 from aveshagarwal/master-descheduler-changes
Descheduler related modifications.
2017-09-15 14:53:24 -04:00
Avesh Agarwal
fc41b658e9 Update unit test code. 2017-09-15 14:22:34 -04:00
Avesh Agarwal
d634701250 Descheduler related modifications. 2017-09-15 14:13:27 -04:00
Avesh Agarwal
8a6b9a814b Merge pull request #4 from ravisantoshgudimetla/pods_node_unit_tests
Changes and file reorganization
2017-09-14 14:55:37 -04:00
ravisantoshgudimetla
c1140e7b02 Changes and file reorganization 2017-09-13 16:18:39 -04:00