Commit c5756d22 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #29779 from 249043822/patch-1

Automatic merge from submit-queue make log description more readable
parents 50e3ee28 fe031d33
...@@ -2066,7 +2066,7 @@ func (kl *Kubelet) canAdmitPod(pods []*api.Pod, pod *api.Pod) (bool, string, str ...@@ -2066,7 +2066,7 @@ func (kl *Kubelet) canAdmitPod(pods []*api.Pod, pod *api.Pod) (bool, string, str
// TODO: When disk space scheduling is implemented (#11976), remove the out-of-disk check here and // TODO: When disk space scheduling is implemented (#11976), remove the out-of-disk check here and
// add the disk space predicate to predicates.GeneralPredicates. // add the disk space predicate to predicates.GeneralPredicates.
if kl.isOutOfDisk() { if kl.isOutOfDisk() {
glog.Warningf("Failed to admit pod %v - %s", format.Pod(pod), "predicate fails due to isOutOfDisk") glog.Warningf("Failed to admit pod %v - %s", format.Pod(pod), "predicate fails due to OutOfDisk")
return false, "OutOfDisk", "cannot be started due to lack of disk space." return false, "OutOfDisk", "cannot be started due to lack of disk space."
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment