This document proposes a design for implementing concurrent policy execution in Kyverno. While initially considered for performance improvements, the primary benefits of this approach lie in enhanced flexibility and potential for future optimizations. The proposal addresses the challenges of shared state, explores various implementation strategies, and outlines a plan for measuring and validating the benefits of concurrency.
This document proposes a design for implementing concurrent policy execution in Kyverno. While initially considered for performance improvements, the primary benefits of this approach lie in enhanced flexibility and potential for future optimizations. The proposal addresses the challenges of shared state, explores various implementation strategies, and outlines a plan for measuring and validating the benefits of concurrency.