Setting queue.spec.capacity.cpu field empty in child queue will result in an error: Failed to check queue's hierarchical structure #3914
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Description
we can see error log in vc-scheduler : Failed to check queue's hierarchical structure, error.....
Steps to reproduce the issue
Describe the results you received and expected
Because of there is a default values when cpu/mem is null . Cpu would be setting to MaxFloat64.
volcano/pkg/scheduler/plugins/capacity/capacity.go
Line 304 in 0966fd5
So, should we reject creation a queue in admission-webhook when queue.spec.capacity.cpu/mem is null ?
What version of Volcano are you using?
master
Any other relevant information
No response
The text was updated successfully, but these errors were encountered: