-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcdserver: request is too large #441
Comments
@chen-keinan we also see the issue in the log. Do you have any update to resolve this issue?
|
not really , its not an easy one, the only workaround I can think of is increasing the the request limit in etcd |
For increasing the request limit in etcd, I think it only works for kubernetes installed self nodes, not kubernetes provided by cloud provider since master nodes are managed by cloud provider. |
@chen-keinan Hi! I have the same problem. We use AWS EKS and can't change request limit in etcd. Do you have any update to resolve this issue? We use: |
@chen-keinan Its a breaking change, but perhaps there can be a Vulnerability resource that trivy-operator maintains for each unique discovered vulnerability. That VulnerabilityReport references and includes some key details. This way fields that take up a lot of space like the extra links are kept to their own resource. |
@lindsaygrace could be , another option is to compress the reported data and encode it (save it to crd body), but it will not be human readable. |
We have our own Kubernetes Cluster but increasing the request limit could create another bunch of problems. The increased lag would compromise the stability of the cluster. Therefore we need to decrease the amount of information in the the report. I like the idea of @lindsaygrace to store each found vulnerability seperataly. We have multiple identical CVEs in os and library (java) |
@chen-keinan We have the Trivy Operator deployed on a handful of GKE clusters and are encountering this issue as well. Ideally we would love to see a way to persist the data outside of the cluster to avoid etcd size limits entirely, but we are open to any other suggestions for a workaround. |
If there is a way to hook into the serializer, we could enable a config flag for this and just encode the data in base64 (encryption does not seem necessary). If you could point me in the right direction, I could take a look at it. |
this issue still appeares in tests: https://github.com/aquasecurity/trivy-operator/actions/runs/12045796081/job/33585312426?pr=2305 |
Issue went stale, but are policyreports still considered? |
I've reopened the issue |
It has been observed that in some cases the report produced by
trivy-operator
is hitting the default etcd request limit and fails.The reason for report getting too big is due to amount of vulnerabilities (found in image) and it associated data stored in the report.
Workaround for this issue is to tune
etcd request limit
There are three potential solution for this issue:
The text was updated successfully, but these errors were encountered: