Kubernetes Prow Robot
e857ae090c
Merge pull request #80011 from Huang-Wei/eps-int-test
...
Even Pods Spread - 6. Integration Test
2019-08-01 17:19:51 -07:00
Kubernetes Prow Robot
a8d20287bd
Merge pull request #80846 from tedyu/apply-wght-early
...
Return early in ApplyScoreWeights if there are no scores
2019-08-01 13:38:54 -07:00
Kubernetes Prow Robot
aaad4c4afa
Merge pull request #80533 from alculquicondor/refactor/find_nodes
...
Query nodes in Schedule only when there are no predicates
2019-08-01 13:38:28 -07:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test
2019-08-01 10:42:27 -07:00
Aldo Culquicondor
d935b1054c
Remove Configurator interface
...
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.
Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2019-08-01 08:36:38 -04:00
Ted Yu
5efeda3718
Return early in ApplyScoreWeights if there are no scores
2019-08-01 04:59:18 -07:00
Fabio Bertinatto
c5d9af2bda
Update predicates to use cached CSINode in scheduler
2019-08-01 10:15:20 +02:00
Fabio Bertinatto
09d2cdf384
Add independent cache for CSINode in scheduler
2019-08-01 10:08:51 +02:00
Kubernetes Prow Robot
ac1cde5577
Merge pull request #78009 from hainesc/develop
...
Use reservoir sampling to select one host from priority list
2019-08-01 00:52:15 -07:00
Kubernetes Prow Robot
7a7f5f1e83
Merge pull request #80360 from bertinatto/fix_old_predicate
...
Don't count unrelated volumes in scheduler predicate
2019-07-31 22:36:26 -07:00
Kubernetes Prow Robot
fb46ec8455
Merge pull request #80383 from liu-cong/normalizescore
...
Add NormalizeScore extension point for scheduler framework.
2019-07-31 20:08:24 -07:00
Kubernetes Prow Robot
a6dca16d99
Merge pull request #80144 from Huang-Wei/stateless-ApplyFeatureGates
...
scheduler: make ApplyFeatureGates() stateless
2019-07-31 20:08:14 -07:00
Kubernetes Prow Robot
fc46a2f59c
Merge pull request #80736 from cofyc/log-error-when-api-requst-fails
...
Log an error when kube-scheduler fails to update the condition of the pod
2019-07-31 13:48:15 -07:00
xiaofei.sun
bff9ad44f9
clean GeneralPredicates code
2019-07-31 23:06:46 +08:00
Fabio Bertinatto
6e9112b7fe
When PVC is invalid, don't count volumes in scheduler predicate
2019-07-31 12:56:28 +02:00
Fabio Bertinatto
ee7b48b7c5
Don't count unrelated volumes in scheduler predicate
2019-07-31 12:56:28 +02:00
Cong Liu
34373662d3
Add NormalizeScore extension point for scheduler framework.
2019-07-30 20:02:13 -04:00
Wei Huang
eb3ed24853
scheduler: make ApplyFeatureGates() stateless
2019-07-30 11:41:57 -07:00
Kubernetes Prow Robot
1f1c1e2ad0
Merge pull request #80588 from liu-cong/errch
...
Use ErrorChannel to communicate errors during parallel execution in interpod_afiinity
2019-07-30 08:53:03 -07:00
Kubernetes Prow Robot
d248bd099d
Merge pull request #80233 from alculquicondor/refactor/configurator
...
Remove NodeLister from Scheduler Configurator
2019-07-30 05:33:17 -07:00
Kubernetes Prow Robot
70bb26f96e
Merge pull request #78632 from NickrenREN/delete-pod-if-add-succeeds
...
Delete the pods from unschedulable queue only when Add succeeds
2019-07-30 01:58:50 -07:00
Yecheng Fu
00afede30d
Log an error when kube-scheduler fails to update the condition of the pod.
2019-07-30 10:05:20 +08:00
Cong Liu
9663c33747
Use ErrorChannel to communicate errors during parallel execution in interpod_afiinity.
2019-07-29 20:44:50 -04:00
NickrenREN
315f34bb51
delete the pods from unschedulable queue only when Add succeeds
2019-07-28 11:24:11 +08:00
Wei Huang
755a3112d8
[eps-priority] auto-gen files
2019-07-26 20:49:12 -07:00
Wei Huang
762a7113a7
EvenPodsSpread: optimize Priority logic
2019-07-26 20:49:12 -07:00
Wei Huang
26a45b2bd3
EvenPodsSpread: Benchmarking Priority function
2019-07-26 20:49:12 -07:00
Wei Huang
0bff4c27d6
EvenPodsSpread: weigh constraints individually
...
- update logic to weigh each constraint individually
- address comments and misc fixes
2019-07-26 20:48:05 -07:00
Wei Huang
3638fd5353
EvenPodsSpread: minor enhancement on printing out priority score
2019-07-26 20:48:05 -07:00
Wei Huang
821446ed70
EvenPodsSpread: Make some funcs in predicates pkg as public
2019-07-26 20:48:05 -07:00
Wei Huang
f25cc921e1
EvenPodsSpread: Core Priority logic
2019-07-26 20:48:05 -07:00
Wei Huang
eefc18a763
EvenPodsSpread: Define a new Priority
2019-07-26 20:48:05 -07:00
Kubernetes Prow Robot
bc8ca12c87
Merge pull request #80448 from tedyu/node-info-key
...
Check error return from GetPodKey
2019-07-26 20:16:23 -07:00
Kubernetes Prow Robot
7075853a70
Merge pull request #80254 from hex108/preempt_with_permit
...
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-26 20:16:11 -07:00
Ted Yu
47ccb69907
Check error return from GetPodKey
2019-07-26 11:53:43 -07:00
Kubernetes Prow Robot
50a0d38e3a
Merge pull request #80503 from tedyu/spread-constaints
...
Refactor nested loop in getTPMapMatchingSpreadConstraints
2019-07-25 20:48:11 -07:00
Kubernetes Prow Robot
7fd8537564
Merge pull request #79062 from Huang-Wei/eps-preemption
...
Even Pods Spread - 4. Preemption Support
2019-07-25 14:33:45 -07:00
Ted Yu
89818d8d09
Refactor nested loop in getTPMapMatchingSpreadConstraints
2019-07-25 07:15:14 -07:00
Aldo Culquicondor
0e35ac8f1e
Update TODO
...
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2019-07-25 10:09:42 -04:00
Aldo Culquicondor
e703226522
Optimize Schedule by querying nodes only when needed.
...
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2019-07-25 08:24:05 -04:00
Kubernetes Prow Robot
dc515bb12e
Merge pull request #80469 from draveness/feature/add-unit-tests-to-framework-status
...
fix: return empty string when status is nil
2019-07-24 18:08:05 -07:00
Wei Huang
794847967c
EvenPodsSpread: update addPod() logic to match individual constraint
...
- also add TODO items for potential perf optimization
2019-07-24 15:27:55 -07:00
Wei Huang
fe7072a482
fixup: address comments
2019-07-24 15:27:55 -07:00
Wei Huang
2027525abf
EvenPodsSpread: Preemption UT on generic_scheduler
2019-07-24 15:27:55 -07:00
Wei Huang
ff831c3df2
EvenPodsSpread: Supports Preemption (addPod)
...
- add addPod() for podSpreadMap
2019-07-24 15:27:55 -07:00
Wei Huang
9e9808d0ab
EvenPodsSpread: Supports Preemption (removePod)
...
- add removePod() for podSpreadMap
2019-07-24 15:27:54 -07:00
Kubernetes Prow Robot
acd597dbac
Merge pull request #80305 from hex108/cleanup_score_plugin
...
Precheck score plugins' weight when initializing
2019-07-24 15:20:05 -07:00
Kubernetes Prow Robot
d83cf5f274
Merge pull request #77828 from Huang-Wei/eps-pred-core
...
Even Pods Spread - 3. Predicates Core
2019-07-24 15:19:52 -07:00
Aldo Culquicondor
8e9af0185d
Remove NodeLister from Scheduler Configurator
...
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2019-07-24 17:16:30 -04:00
Kubernetes Prow Robot
cbae6ed036
Merge pull request #80220 from alculquicondor/refactor/scheduler-cache
...
Use scheduler cache in affinity priority functions
2019-07-24 13:50:06 -07:00