Closed jimmyliao closed 2 years ago
PR checklist
What type of PR is this?
Fix the GPU resource core checking.
What this PR does / why we need it: kubectl describe node | grep -E "^Allocatable" -A7 | grep 'nvidia.com/gpu' nvidia.com/gpu: 8
Original:
grep 'nvidia.com/gpu '
Should do
grep 'nvidia.com/gpu
Which issue(s) this PR fixes: Fix the gpu core grep syntax by space removal.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
PR checklist
What type of PR is this?
Fix the GPU resource core checking.
What this PR does / why we need it: kubectl describe node | grep -E "^Allocatable" -A7 | grep 'nvidia.com/gpu'
nvidia.com/gpu: 8
Original:
Should do
Which issue(s) this PR fixes: Fix the gpu core grep syntax by space removal.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: