mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #42751 from yujuhong/log_more
Automatic merge from submit-queue Add more logs to help debugging
This commit is contained in:
commit
98ae572225
@ -278,7 +278,7 @@ func (cgc *containerGC) evictSandboxes(minAge time.Duration) error {
|
|||||||
if createdAt.After(newestGCTime) {
|
if createdAt.After(newestGCTime) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
glog.V(4).Infof("PodSandbox %q is eligible for garbage collection since it was created before %v: %+v", sandboxID, newestGCTime, sandbox)
|
||||||
evictSandboxes = append(evictSandboxes, sandboxID)
|
evictSandboxes = append(evictSandboxes, sandboxID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -619,6 +619,7 @@ func (m *kubeGenericRuntimeManager) SyncPod(pod *v1.Pod, _ v1.PodStatus, podStat
|
|||||||
glog.Errorf("createPodSandbox for pod %q failed: %v", format.Pod(pod), err)
|
glog.Errorf("createPodSandbox for pod %q failed: %v", format.Pod(pod), err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
glog.V(4).Infof("Created PodSandbox %q for pod %q", podSandboxID, format.Pod(pod))
|
||||||
|
|
||||||
podSandboxStatus, err := m.runtimeService.PodSandboxStatus(podSandboxID)
|
podSandboxStatus, err := m.runtimeService.PodSandboxStatus(podSandboxID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user