Skip to content

Commit 0b4ae7f

Browse files
committed
To support debug, add kubelet log when drop pod update message
Add debug log, when drop pod update message update according to suggestion
1 parent a32f695 commit 0b4ae7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kubelet/pod_workers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ func (p *podWorkers) UpdatePod(options UpdatePodOptions) {
964964
select {
965965
case podUpdates <- struct{}{}:
966966
default:
967+
klog.V(4).InfoS("Pending update already queued", "pod", klog.KRef(ns, name), "podUID", uid, "updateType", options.UpdateType)
967968
}
968969

969970
if (becameTerminating || wasGracePeriodShortened) && status.cancelFn != nil {

0 commit comments

Comments
 (0)