Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Yifan Xiong df185eecde
Update feature demo examples (#30)
* Update feature demo examples.
* Add defaulting for `ignoreK8sSuggestedNodes`.
* Fix sort in `getUsablePhysicalCells`.
2020-08-20 15:07:58 +08:00
Yifan Xiong fbff5b09b4
Rename term gpu to leaf cell (#28)
* Rename gpuType/gpuNumber to skuType/skuNumber

Rename gpuType -> skuType, gpuNumber -> skuNumber.

* Rename gpu to device

Rename gpu to device when referring affinity and index.

* Add explanation for sku type and device

Add explanation for sku type and device.

* Revert term sku and device to leaf cell

Revert term sku and device to leaf cell.

* Fix

Fix.

* Convert old spec annotations for compatibility

Convert old spec annotations for backward compatibility.

* Update README

Update README.

* Resolve comments

Resolve comments.

* Update

Update.
2020-07-27 15:54:33 +08:00
Yuqi Wang 2ba822ec37
Still schedule on preemptRoutine in case filterRoutine is not called by K8S (#11)
* Still schedule on preemptRoutine in case filterRoutine is not called by K8S

* Refine
2020-03-27 15:20:25 +08:00
Yuqi Wang b101a1e86c
Deliver unallocated Pod events to SchedulerAlgorithm (#7) 2020-03-23 21:23:55 +08:00
Hanyu Zhao a18b49d736 [HiveD] add log for suggested nodes (#4262)
* add log for suggested nodes

* add log for suggested nodes

* add log for suggested nodes

* refine log

* refine log
2020-03-17 14:24:26 +08:00
Hanyu Zhao 521f871035 [HiveD] expose vc capacity (#4153)
* expose vc capacity

* fix failure of running cells

* json representation of cluster status

* add oppor cells to vc

* minor fixes

* add node lister to watch nodes

* minor fixes

* minor fixes

* minor

* refine cell addressing

* quota headroom track (wip)

* safety check

* fix bug in mapNonPreassignedCellToVirtual

* track bad cells

* minor refinements

* resolve comments

* resolve comments

* resolve comments & fix track bad cells (only need to track bad free cells)

* resolve comments
2020-03-16 21:26:30 +08:00
Yuqi Wang f34577041b [Hived]: Aware Deletion and Add embedded inside one Update event (#4135) 2020-01-13 13:57:16 +08:00
Hanyu Zhao f10d301966 HiveD: record cell type in pod annotation (#3962)
* record cell type (instead of level) in pod annotation

* fix selectedNode

* refine failed reason

* minor fixes

* minor fixes
2019-12-06 09:09:29 +08:00
Yuqi Wang b25f9256fe [Hived]: Expose and Refine Pod Waiting Reason (#3931) 2019-12-04 11:48:20 +08:00
Yuqi Wang f16f52ac52 [Hived]: Expose LazyPreemptionStatus (#3917) 2019-11-28 15:11:24 +08:00
Yuqi Wang da6bce75e4 [Hived]: Fix user specified priority may conflict with internal reserved priority (#3893) 2019-11-25 17:25:49 +08:00
Hanyu Zhao c8e529d0b4 HiveD algorithm refactor (#3684)
* algorithm refactored

* small refinements; add comments

* solve comments

* minor fix

* minor fixes

* collect preemption victims

* Return FailedNodes to tell k8s preemption may help

* Return FailedNodes to tell k8s preemption may help

* support preemption

* preemption tested & minor bug fixes

* fix algorithm randomness

* compare pods/cells by uid/name

* compare cells in CellEqual

* refactor topologyAwareScheduler

* minor fix

* minor
2019-10-19 10:39:27 +08:00
Yuqi Wang 19083dc63e [HivedScheduler]: Move to GOPATH (#3305) 2019-08-02 12:06:31 +08:00