Skip to content

Commit

Permalink
The debugging information level of the VGPU is changed to 5
Browse files Browse the repository at this point in the history
Signed-off-by: wangyang0616 <wangyang8126@gmail.com>
  • Loading branch information
wangyang0616 committed Sep 23, 2023
1 parent 0788201 commit e11c693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/api/devices/nvidia/vgpu/device_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ func (gs *GPUDevices) Release(kubeClient kubernetes.Interface, pod *v1.Pod) erro
}

func (gs *GPUDevices) FilterNode(pod *v1.Pod) (int, string, error) {
klog.V(3).Infoln("4pdvgpuDeviceSharing:Into FitInPod", pod.Name)
klog.V(5).Infoln("4pdvgpuDeviceSharing:Into FitInPod", pod.Name)
if VGPUEnable {
fit, _, err := checkNodeGPUSharingPredicate(pod, gs, true)
if err != nil || !fit {
klog.Errorln("deviceSharing err=", err.Error())
return devices.Unschedulable, fmt.Sprintf("4pdvgpuDeviceSharing %s", err.Error()), err
}
}
klog.V(3).Infoln("4pdvgpu DeviceSharing:FitInPod successed")
klog.V(5).Infoln("4pdvgpu DeviceSharing:FitInPod successed")
return devices.Success, "", nil
}

Expand Down

0 comments on commit e11c693

Please sign in to comment.