Load bundle from backup service #139
Replies: 1 comment 3 replies
-
Hi Robert 👋 Great question! The remote bundle model has some level of redundancy built-in, given how OPA will keep serving the latest bundle it downloaded even when the remote goes down. The |
Beta Was this translation helpful? Give feedback.
-
We are deploying opa across multiple microservices. Each will have a number of agents and these agents are configured to download the bundle file from a s3 bucket.
I have been told to implement redundancy in this process. If one s3 bucket in one region goes down I need the opa agent to get the bundle from a second region.
I would like to be able to make a configuration something like this:
Then the bundle will use service s3 to poll for the bundle and if that fails it will go to service s3b and use a different bucket.
I have checked and the etags on both buckets match so there won't be an issue there.
I don't think a config like the above can work. I have also tried having multiple authz bundles but this didn't work either.
What do you recommend as the best strategy for having agents access redundant bundle locations?
Robert
Beta Was this translation helpful? Give feedback.
All reactions