Vishnu Kannan
d0524d4778
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 23:19:38 +00:00
Vishnu Kannan
5e36f63f8b
Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource
...
quantities 'CPU' and 'Memory' will be preserved until support for v1beta1 and v1beta2 APIs are
dropped.
Improved resource validation in the process.
2015-02-01 02:19:55 +00:00
Tim Hockin
819803b79f
Make VolumeSource not be a pointer
...
There's no reason for it to be a pointer.
2015-01-20 17:54:04 -08:00
davidopp
2675cfa16b
Merge pull request #2906 from abhgupta/abhgupta-dev
...
Enhancements to scheduler priority functions
2015-01-14 21:47:28 -08:00
Daniel Smith
2e394d41cd
fix log message
2015-01-14 15:08:53 -08:00
Abhishek Gupta
dbac18a909
Rebasing onto latest code and fixing issues
2015-01-13 10:09:33 -08:00
Abhishek Gupta
c20d062d16
Added comments and minor changes based on PR feedback
2015-01-13 09:41:28 -08:00
Abhishek Gupta
40df5f6db8
Added a more formal comment for the service affinity predicate
2015-01-13 09:41:28 -08:00
Abhishek Gupta
6fd0b181e3
Rebased onto the latest changes to the scheduler code
2015-01-13 09:41:25 -08:00
Abhishek Gupta
9e75a05df0
Implementing PR feedback
2015-01-13 09:34:45 -08:00
Abhishek Gupta
3f722a3d8e
Adding service affinity predicate
2015-01-13 09:34:45 -08:00
Abhishek Gupta
9dd7d2a0a1
Adding label checker predicates and test cases
2015-01-13 09:34:45 -08:00
Abhishek Gupta
04db076e5f
Enhancements to scheduler priority functions
...
- Modified the existing spreading priority to consider service pods explicitly
- Added a new priority function to spread pods across zones
2015-01-13 09:34:42 -08:00
Eric Tune
00c05053b7
Rename ListPods methods to List.
...
For greater similarity to pkg/client.
Does not cover registry's ListPods.
Fix an example in a comment.
2015-01-09 23:46:02 -08:00
Daniel Smith
2050131b9a
ParseOrDie -> MustParse; stop returning pointer
2015-01-07 15:21:35 -08:00
Daniel Smith
7f49ba0dcf
Put quantity into packages
...
kubelet, GCE, validation, client
2015-01-07 15:21:34 -08:00
Brendan Burns
2e17193161
Add Host to PodSpec and add a predicate to make the scheduler work.
2014-12-18 20:12:29 -08:00
Clayton Coleman
d1d7505272
Rename client Minions->Nodes, select the correct path for v1beta3
...
Replaces the client public interface but leaves old references to "minions"
for a later refactor. Selects the path "nodes" for v1beta3 and "minions"
for older versions.
2014-12-10 12:08:19 -05:00
Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Abhishek Gupta
d17cebcd2a
Implementing PR feedback and adding test cases
2014-12-08 14:47:05 -08:00
Abhishek Gupta
5fa1dbc07b
Implementing PR feedback
...
- Making ConfigFactory struct public
- Added comments for predicate/priority functions and new methods
2014-12-08 14:47:05 -08:00
Abhishek Gupta
13831856c9
Combining scheduler priority functions using weighted averages
2014-12-08 14:47:05 -08:00
Abhishek Gupta
7f374030c1
Fixing gofmt errors
2014-12-08 14:47:05 -08:00
Abhishek Gupta
1eb28b0aa3
Scheduler changes to allow multiple priority functions
2014-12-08 14:47:05 -08:00
Abhishek Gupta
6b712cc700
Scheduler changes for extensibility
2014-12-08 14:47:05 -08:00
Clayton Coleman
156000ef6d
Move the internal minion representation to match v1beta3
...
Moves to 'Spec' and 'Status' internally and removes duplicate
fields. Moves Capacity into Spec and drops use of NodeResources
2014-11-20 20:53:08 -05:00
markturansky
8af4ccb111
v1beta3 Pod refactor
2014-11-18 09:25:42 -05:00
Claire Li
4bee622865
Add check for empty priority list and refactor tests.
2014-11-06 21:38:41 -08:00
Claire Li
18fa043b1b
Add a test for selectHost of generic_scheduler
2014-11-05 21:48:42 -08:00
Claire Li
415ac3bf8a
Refactor selectHost in generic_scheduler
2014-11-05 21:26:25 -08:00
Daniel Smith
3260d300e5
Merge pull request #2166 from claire921/refactor_sched
...
Refactor PodFitsPorts
2014-11-05 10:30:00 -08:00
Daniel Smith
6e55514a47
Merge pull request #2167 from claire921/clean
...
Cleanup generic_scheduler
2014-11-05 10:22:24 -08:00
Claire Li
076f1638b8
Refactore calculateOccupancy in pkg/scheduler
2014-11-04 21:44:44 -08:00
Claire Li
0e989afa66
Cleanup generic_scheduler
2014-11-04 21:39:10 -08:00
Claire Li
8d859f4260
Refactor PodFitsPorts
2014-11-04 21:21:26 -08:00
Brendan Burns
5d4d60783d
Add requirements based scheduling.
2014-10-25 22:08:00 -07:00
derekwaynecarr
580cb5ea4f
Rework client.Interface
2014-10-24 11:47:30 -04:00
Clayton Coleman
644eb70085
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
Daniel Smith
1dcb25e26e
Merge pull request #1754 from brendandburns/valid
...
Add a predicate for persistent disk scheduling.
2014-10-15 12:03:05 -07:00
Brendan Burns
47c4b8fc98
Add a predicate for persistent disk scheduling.
2014-10-13 15:38:25 -07:00
Deyuan Deng
19c62d719c
Use DesiredState.Host in scheduler predicate
2014-10-12 17:03:23 -04:00
Dawn Chen
135d187942
Merge pull request #1736 from brendandburns/scheduler
...
Switch away from the static node info
2014-10-10 15:01:09 -07:00
Brendan Burns
e6fa568ad4
Switch away from the static node info
2014-10-10 14:08:09 -07:00
Tim Hockin
d84816aaec
Merge pull request #1709 from erictune/move_line
...
Fix format specifiers in Printf-type functions.
2014-10-09 20:40:35 -07:00
Eric Tune
800284164a
Fix format specifiers in Printf-type functions.
2014-10-09 17:06:32 -07:00
Brendan Burns
b5ec8a747b
Switch on the resource requested prioritization.
2014-10-09 11:29:45 -07:00
Brendan Burns
4230a8ca61
Add a least-requested priority function
2014-10-08 15:31:38 -07:00
Clayton Coleman
d3e51a0f24
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
Brendan Burns
1551b48347
Add a resource fit scheduler predicate. Set sensible defaults.
2014-10-03 15:09:59 -07:00