mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Remove SandboxReceived event
This commit is contained in:
parent
59735fb908
commit
245dad86b4
@ -555,9 +555,8 @@ func (m *kubeGenericRuntimeManager) SyncPod(pod *v1.Pod, _ v1.PodStatus, podStat
|
|||||||
if podContainerChanges.SandboxID != "" {
|
if podContainerChanges.SandboxID != "" {
|
||||||
m.recorder.Eventf(ref, v1.EventTypeNormal, "SandboxChanged", "Pod sandbox changed, it will be killed and re-created.")
|
m.recorder.Eventf(ref, v1.EventTypeNormal, "SandboxChanged", "Pod sandbox changed, it will be killed and re-created.")
|
||||||
} else {
|
} else {
|
||||||
m.recorder.Eventf(ref, v1.EventTypeNormal, "SandboxReceived", "Pod sandbox received, it will be created.")
|
glog.V(4).Infof("SyncPod received new pod %q, will create a new sandbox for it", format.Pod(pod))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 2: Kill the pod if the sandbox has changed.
|
// Step 2: Kill the pod if the sandbox has changed.
|
||||||
|
Loading…
Reference in New Issue
Block a user