Merge pull request #37569 from caesarxuchao/fix-kubelet-map-race
Automatic merge from submit-queue
Fix concurrent read/write to map error in kubelet
Fix #37560.
The concurrent read/write is to the pod annotations. The call in apiserver.go reads the annotations, and the config.go writes the annotations. I moved the reads to config.go to avoid the race.
Showing
Please
register
or
sign in
to comment