Merge pull request #72135 from tallclair/rc-logs

Surface selected pod RuntimeHandler in Kubelet logs
This commit is contained in:
Kubernetes Prow Robot
2018-12-18 19:10:25 -08:00
committed by GitHub

View File

@@ -57,6 +57,9 @@ func (m *kubeGenericRuntimeManager) createPodSandbox(pod *v1.Pod, attempt uint32
message := fmt.Sprintf("CreatePodSandbox for pod %q failed: %v", format.Pod(pod), err)
return "", message, err
}
if runtimeHandler != "" {
klog.V(2).Infof("Running pod %s with RuntimeHandler %q", format.Pod(pod), runtimeHandler)
}
}
podSandBoxID, err := m.runtimeService.RunPodSandbox(podSandboxConfig, runtimeHandler)