Open JesseStutler opened 5 days ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign hwdef
You can assign the PR to them by writing /assign @hwdef
in a comment when ready.
The full list of commands accepted by this bot can be found here.
I found that under benchmark there is already a script to deploy kwok and fake nodes, maybe move these into benchmark/kwok is better.
What type of PR is this?
/kind feature
What this PR does / why we need it:
related issue: #3829
verfication
Use
./create-fake-node.sh -n 10 -c 4 -m 8Gi -e volcano.sh/gpu-number=4,volcano.sh/gpu-memory=20
to create 10 fake nodes with 4 CPUs, 8Gi memories and extended resources with volcano.sh/gpu-number=4,volcano.sh/gpu-memory=20. After successfully creating these nodes, take one of them as an example:Open
deviceshare
plugin and set the argumentdeviceshare.GPUNumberEnable
enabled, and then create a fake deployment to create a pod requesting 1volcano.sh/gpu-number
and 1volcano.sh/gpu-memory
, successfully scheduled: