Bundle fails to load #650
AleksanderBrzozowski
started this conversation in
Community
Replies: 1 comment 8 replies
-
I've restarted the service, and changed log level to "info", and found out that the bundle is not refreshed according to the polling settings. I waited a few minutes and it wasn't refreshed at all - I haven't found any logs about failures, and the counters were equal to 0. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! We use OPA in production, in a few different k8s clusters.
Here is the config that we use:
Basically, the bundle is fetched from policy-service, and persisted under /var/opa.
This is a mechanism that allows us to have a fallback in case there is a problem to fetch bundle from policy-service (network issue, or a service is down).
The
/var/opa
dir is a mounted volume, and is shared between multiple pods:The problem we are encountering is that OPA deployment in one of our k8s clusters fails to load bundle in most cases with such an error:
From time to time bundle is loaded successfully, but in most cases it fails (based on the
bundle_failed_load_counter
andbundle_loaded_counter
).I wonder if you can help to find what might be the reason of this failure? The bundle is pretty big, it contains a lot of data. However, in four different kubernetes clusters, which use the same bundle, we don't have this issue.
Beta Was this translation helpful? Give feedback.
All reactions