Report event or record error/info log when drop podUpdates message #129518
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
What would you like to be added?
In func (p *podWorkers) UpdatePod(options UpdatePodOptions) (pod_worker.go):
select {
case podUpdates <- struct{}{}:
default:
}
podUpdates buffer is 1, if the previous update message not finish, the new message will drop without any warning.
User cannot get any idea about this. Event or error/info log should added for debugging.
Why is this needed?
The update pod message drop without any warning.
It is better to add some debug log.
The text was updated successfully, but these errors were encountered: