-
Notifications
You must be signed in to change notification settings - Fork 137
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
Operate-first prow / CI issues from kubeval
check
#2288
Comments
kubeval
check
There was a similar issue with precommit a while back. Not sure if this solution is repeatable here but sharing it for reference: |
So it turns out it is checking for a diff as seen here. However running that against my example pr produces this:
As you can see, it returns the entire |
For now seems that upping resources fo kubeval is enough will have to investigate further why. /assign |
Which is the correct outcome. Kubeval can't be run against partial manifests in base/overlays... Keep in mind that we modify and patch those manifests in overlays so for example subscription which requires a The grep command is matching the root application folder intentionally because so far we don't have any heuristic to determine which base or overlay is including which modified file... And we need to run each change set through |
Then this seems to be logical and intended behaviour. I think this explanation coupled with your PR to exclude some pre-submit checks based on the files changed should resolve this issue. Would you agree @tumido, and if so can I close this? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
I don't think this is an issue anymore. |
Prow has been slow recently, and a few PRs are being blocked due to their kubeval check failing see example. My theory is these performance issues are related to that kubeval check itself, in that it is not currently checking the diff, but the entire repo as you can see in that check example log. It eventually values with an exit code
137
which means it is dying due to memory constraints. Can kubeval be set to run only against the diff produced by the PR @mimotej? If not we can consider upping the resources per PR (although that could become pretty intensive), or we should consider removing the check entirely./cc @mimotej
The text was updated successfully, but these errors were encountered: