Airgap uploads can require more memory than requested
laverya opened this issue · 1 comments
laverya commented
Currently, we request 100Mi (with a limit of 500Mi) for kotsadm: https://github.com/replicatedhq/kots/blob/master/pkg/kotsadm/kotsadm_objects.go#L427-L436
In some situations (large images in airgap bundles in clusters under memory pressure) this results in kotsadm taking more than 100Mi of ram and being OOMkilled. This should be resolved somehow - either by setting the request equal to the limit or by improving the image decompress+push process.
markpundsack commented
Is it being killed because it's exceeding the limit (500Mi), or that it's more than the request, and the cluster doesn't have enough memory?