undistro / zora

Zora is an open source solution that helps you achieve compliance with Kubernetes best practices recommended by industry-leading frameworks. By scanning your cluster with multiple plugins, Zora identifies potential issues, misconfigurations, and vulnerabilities.
https://getup.io/opensource/zora-oss
Apache License 2.0
280 stars 24 forks source link

Popeye terminating with OOMKilled error #190

Closed adonaicosta closed 1 year ago

adonaicosta commented 1 year ago

Description

sometimes the scan pod has outfomemory

Expected Behavior

Pod state Completed

matheusfm commented 1 year ago

Thanks for reporting this issue.

It happens because the default resource limits is not enough for your target cluster.

For now you can edit the popeye plugin (kubectl edit plugin popeye -n zora-system) to increase the limit.

matheusfm commented 1 year ago

TODO: popeye resources as helm chart parameters. Example: https://github.com/undistro/zora/blob/main/charts/zora/values.yaml#L89