Project-HAMi / HAMi

Heterogeneous AI Computing Virtualization Middleware
http://project-hami.io/
Apache License 2.0
987 stars 200 forks source link

When use set nodeName field, should skip hami-scheduler, this will not trigger the scheduling logic #488

Closed lengrongfu closed 1 month ago

lengrongfu commented 2 months ago

What happened:

What you expected to happen:

We should in hook in to check pod whether set nodeName field, and it is need hami-scheduler, if set and use hami-scheduler, clean it nodeName field, else not exec vgpu-scheduler-extender filter step.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

lengrongfu commented 2 months ago

/assign