Kubernetes Prow Robot
25bbe2ebc5
Merge pull request #99594 from cofyc/kep1845-api
...
Prioritizing nodes based on volume capacity: API changes
2021-07-01 15:35:51 -07:00
Yecheng Fu
b522e95aae
Prioritizing nodes based on volume capacity: API changes
2021-07-01 10:00:59 +08:00
Kubernetes Prow Robot
385402d506
Merge pull request #103082 from chrishenzie/read-write-once-pod-access-mode-scheduler
...
Enforce ReadWriteOncePod during scheduling
2021-06-30 16:11:36 -07:00
Chris Henzie
7ad44d04fc
Enforce ReadWriteOncePod access mode during scheduling
...
Check the PVC ref count on the node info cache to determine if a pod's
PVCs are in use. If they are and it is using ReadWriteOncePod, fail the
request.
2021-06-30 10:40:14 -07:00
Kubernetes Prow Robot
e0f66be1aa
Merge pull request #101822 from yuzhiquan/NodeResourcesFit-score
...
Add score func for NodeResourcesFit plugin
2021-06-29 13:42:20 -07:00
yuzhiquan
deb14b995a
Add score plugin for NodeResourcesFit
2021-06-29 13:16:55 -04:00
Chris Henzie
ebc3fdb293
Store PVC reference counts in NodeInfo cache
...
This map will be queried as part of enforcement of the ReadWriteOncePod
access mode for PVCs
2021-06-29 10:07:32 -07:00
Kubernetes Prow Robot
51e1969d9c
Merge pull request #103133 from marwanad/allow-scheduler-to-patch-conditions
...
switch scheduler to generate the merge patch on pod status instead of the full pod
2021-06-28 12:46:28 -07:00
Marwan Ahmed
48dfa2a554
generate scheduler merge patches on the pod status instead of the full pod
2021-06-28 09:35:55 -07:00
Kubernetes Prow Robot
df2e13376d
Merge pull request #103169 from Huang-Wei/res-scorer
...
Optimize scheduler res scorer on non-requested extended res
2021-06-26 04:21:23 -07:00
Kubernetes Prow Robot
015a0d9b01
Merge pull request #103130 from ahg-g/ahg-ca
...
Add a function that returns default scheduler configuration
2021-06-25 12:13:24 -07:00
Wei Huang
20f84b12a1
Optimize scheduler res scorer on non-requested extended res
2021-06-25 11:41:36 -07:00
Abdullah Gharaibeh
b6a317aeaf
add a function that returns default scheduler configuration
2021-06-24 11:48:35 -04:00
Kubernetes Prow Robot
72fc6d9ea0
Merge pull request #103089 from chendave/ratio_cleanup
...
Simplify the formula used in the `RequestedToCapacityRatio` plugin
2021-06-22 12:00:23 -07:00
ravisantoshgudimetla
b6c75bee15
Remove balanced attached node volumes
...
kubernetes#60525 introduced
Balanced attached node volumes feature gate to include volume
count for prioritizing nodes. The reason for introducing this
flag was its usefulness in Red Hat OpenShift Online environment
which is not being used any more. So, removing the flag
as it helps in maintainability of the scheduler code base
as mentioned at kubernetes#101489 (comment)
2021-06-22 11:19:30 -04:00
Dave Chen
0f922b200f
Simplify the formula used in the RequestedToCapacityRatio plugin
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-06-22 17:11:26 +08:00
Hidehito Yabuuchi
e371b27e6c
Fix frameworkImpl.extenders being not set
2021-06-19 18:07:31 +09:00
Kubernetes Prow Robot
f899bbe445
Merge pull request #102925 from alculquicondor/fix-node-resources
...
Fix Node Resources plugins score when there are pods with no requests
2021-06-18 07:20:06 -07:00
Aldo Culquicondor
63d1237102
Fix Node Resources plugins score when there are pods with no requests
...
Given that we give a default CPU/memory requests for containers that don't provide any, the calculated usage can exceed the allocatable.
Change-Id: I72e249652acacfbe8cea0dd6f895dabe43ff6376
2021-06-16 20:36:07 +00:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Abdullah Gharaibeh
c13c3ebc79
Remove deprecated scheduler CLI flags hard-pod-affinity-symmetric-weight and scheduler-name
2021-06-11 10:01:42 -04:00
Wei Huang
36eaa11d50
cleanup usage of NewPodNominator
...
- replace NewPodNominator() with NewSafePodNominator()
- rename nominatedPodMap to nominator
2021-06-10 14:01:07 -07:00
Kubernetes Prow Robot
8955463c17
Merge pull request #102745 from ahg-g/ahg-provider
...
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-10 07:17:39 -07:00
Kubernetes Prow Robot
521be6344e
Merge pull request #102558 from Jerry-Ge/unroll-extenders
...
Unroll ScheduleAlgorithm#Extenders() to Scheduler.go
2021-06-10 07:17:27 -07:00
Kubernetes Prow Robot
0d9c29078b
Merge pull request #102746 from ahg-g/ahg-names
...
Define in-tree scheduler plugin names in separate pkg
2021-06-10 02:45:27 -07:00
Jerry-Ge
110c39ef60
unroll extenders
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com >
Co-authored-by: Huang-Wei <wei.huang1@ibm.com >
2021-06-10 08:31:44 +08:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -04:00
Abdullah Gharaibeh
183bc3cece
Allow scheduler maintainers to approve changes in the internal apis pkg
2021-06-09 16:46:36 -04:00
Abdullah Gharaibeh
46f3e4dfdd
Define in-tree scheduler plugin names in separate pkg to break a cyclic depednecy when moving plugin defaulting to CC
2021-06-09 15:36:09 -04:00
Kubernetes Prow Robot
6cb421487a
Merge pull request #99597 from adtac/v1b2
...
scheduler CC: add v1beta2 API, deprecate plugins
2021-06-08 12:26:08 -07:00
Adhityaa Chandrasekar
3c8e56bef9
scheduler: graduate CC to v1beta2, deprecate plugins
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com >
2021-06-07 12:42:55 +00:00
Wei Huang
8e85a2b0c2
sched: fix a bug that a preemptor pod exists as a phantom
...
- SafePodNominator to resolve racing issue when dealing with nominated pod
2021-06-05 11:07:29 -07:00
Kubernetes Prow Robot
2e6e8857d1
Merge pull request #102518 from chendave/cleanup_constat
...
Cleanup redundant failure reason in InterPodAffinity plugin
2021-06-02 09:46:34 -07:00
Kubernetes Prow Robot
a9725892b7
Merge pull request #102485 from alculquicondor/cleanup_interface
...
Cleanup Framework interface
2021-06-01 23:12:32 -07:00
Dave Chen
b049e1b9ab
Cleanup redundant failure reason in InterPodAffinity plugin
...
Both `ErrReasonAffinityRulesNotMatch` and `ErrReasonAntiAffinityRulesNotMatch` are
more precise than `ErrReasonAffinityNotMatch`.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-06-02 11:52:55 +08:00
Aldo Culquicondor
673352dbd2
Cleanup Framework interface
...
remove repeated methods
2021-06-01 20:43:32 +00:00
Abdullah Gharaibeh
4567a43101
Return UnschedulableAndUnresolvable when looking up volume-related resources returns NotFound error
2021-06-01 09:19:04 -04:00
llhuii
3c899f9b54
sched: fix Dump's doc comment
2021-05-30 00:39:20 +08:00
Kubernetes Prow Robot
ae1f28d7b0
Merge pull request #102306 from ahg-g/ahg-vol-restrictions
...
Return UnschedulableAndUnresolvable instead of Error when failing to lookup volume-related resources
2021-05-27 20:48:25 -07:00
Kubernetes Prow Robot
d541872f9a
Merge pull request #102239 from Haleygo/clean-up-AlgorithmProvider-flag-and-pkg
...
clean up algorithmprovider pkg and remove scheduler deprecated algorithm-provider flag
2021-05-27 00:54:23 -07:00
Kubernetes Prow Robot
2da8d1c18f
Merge pull request #102234 from sanposhiho/scheduler/add/interface-check-on-nodeaffinity
...
scheduler/add: interface check on nodeaffinity
2021-05-26 03:17:32 -07:00
Haleygo
2769e99dba
remove scheduler deprecated algorithm-provider flag and clean up algorithmprovider pkg
2021-05-26 13:19:44 +08:00
Kubernetes Prow Robot
aa0017ad13
Merge pull request #102236 from ahg-g/ahg-spread
...
Use ownerReference to build default spreading constraints
2021-05-25 19:39:28 -07:00
Abdullah Gharaibeh
17551f291d
Return UnschedulableAndUnresolvable instead of Error when failing to lookup pvc or storageclass in VolumeZone plugin
2021-05-25 18:58:11 -04:00
Abdullah Gharaibeh
6c0976814c
use ownerReference to build default spreading contraints in the scheduler
2021-05-25 16:04:48 -04:00
Davanum Srinivas
383ce85649
[scheduler] avoid comparing function pointers in unit tests
...
PluginFactory is a function that returns a plugin. We have been
comparing these functions in unit tests and it has worked so far, but
starts to fail in gotip/master.
Note from the golang team:
```
Func values are incomparable. It is true that you could get the PC
through reflection but it is still not expected to be compared. PCs
can change due to inlining, wrappers, etc., depending on the
compiler's details, which is subject to change.
```
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-05-25 09:34:54 -04:00
sanposhiho
1b6895c11f
Fix: remove framework.ScoreExtensions interface check
2021-05-25 13:57:30 +09:00
Kubernetes Prow Robot
4509d6f79f
Merge pull request #101460 from edwardstudy/ed/fix-score-weight
...
Introduce scorePluginWeightMap to replace pluginNameToWeightMap
2021-05-24 21:48:56 -07:00
Kubernetes Prow Robot
5cdf7a714f
Merge pull request #100026 from minbaev/enqueue-extions-to-nvl
...
add enqueue-extensions nodevolumelimits plugin
2021-05-24 21:48:20 -07:00
Kubernetes Prow Robot
943e0c2f91
Merge pull request #101394 from Huang-Wei/dynamic-events-handler
...
sched: dynamic event handlers registration
2021-05-24 16:18:40 -07:00