OPA CPU and Memory Consumption #369
Unanswered
birbalekka
asked this question in
OPA and Rego
Replies: 1 comment 1 reply
-
Hi @birbalekka, What about your policies? Are they CPU-bound or IO/bound? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI All,
We are running OPA in EKS as an container. While checking its CPU and memory usages , we see that the cpu doesnt go beyond 1.3 ( allocated 4 ) . Memory - 30 mb ( allocated 2 gb) .
However even with this configuration we are seeing high response times intermittently of upto 13 secs.
Is OPA getting restricted with CPU or memory ?
How can we increase it ?
arguments used during deployment
args:
- "run"
- "--ignore=.*" # exclude hidden dirs created by Kubernetes
- "--server"
- "--tls-cert-file"
- "{{ .Values.tlsCertFile }}"
- "--tls-private-key-file"
- "{{ .Values.tlsPrivateKeyFile }}"
- "--addr"
- "{{ .Values.httpsAddr }}"
- "--addr"
- "{{ .Values.httpAddr }}"
- "--log-level"
- "info"
Beta Was this translation helpful? Give feedback.
All reactions