Skip to content

Can the Hami scheduler achieve K8s preemption ? #1494

@pipifishes

Description

@pipifishes

配置了hami,实现vgpu切分后, 和k8s抢占冲突
After configuring hami and implementing vgpu slicing, there is a conflict with k8s preemption

节点上有2张卡,切分也为2张卡:
There are 2 cards on the node, and the split is also 2 cards:
Image

已配置抢占 策略和一个低优先级yaml:
The preemptive strategy and a low-priority YAML have been configured:
Image

高优先级yaml:
High-priority yaml:
Image

测试结果:
高优先级的并未抢占低优先级:
Test results:
High priority did not preempt low priority:
Image

但是删除hami,抢占就可成功。
But by deleting hami, the seizure can be successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions