kubewarden / rfc

Kubewarden's RFCs
https://github.com/kubewarden/
4 stars 5 forks source link

New RFC: Policy Server - reuse modules #22

Closed flavio closed 1 year ago

flavio commented 1 year ago

This RFC is a follow up from the now rejected RFC 16.

This RFC explains how we can reduce the startup time of Policy Server by maintaining a cache of the policies and their optmized versions inside of a Kubernetes Persistent Volume.

flavio commented 1 year ago

It looks like fine to me. I believe we should do a POC and test this idea.

I already have a POC of the locking mechanism. I can extend that a little and try out the init container approach. Is that what you would like to see?

jvanz commented 1 year ago

It looks like fine to me. I believe we should do a POC and test this idea.

I already have a POC of the locking mechanism. I can extend that a little and try out the init container approach. Is that what you would like to see?

Never mind, this is enough indeed. I forgot that you are testing for a while already.

jvanz commented 1 year ago

As far as I can see, we've reached an consensus. I'm merging this PR. Let me know if I've missed something.