Description of problem: OVN-K holds a lock unnecessarily when adding pods. We can remove this, which is a significant source of contention.
Upstream PR: https://github.com/ovn-org/ovn-kubernetes/pull/2228
Verified on 4.8.0-0.nightly-2021-06-07-083552 Created/deleted the optimized network policies on 1000 pods.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438