Feature request
Is your feature request related to a problem? Please describe.
When we get an OOM, we want the pod to restart automatically. We need the ExitOnOutOfMemoryError for this.
Describe the solution you'd like.
Support for the ExitOnOutOfMemoryError flag in GraalVM Native Image.
Describe who do you think will benefit the most.
GraalVM users.
Describe alternatives you've considered.
A hack is to allocate a heap that will make the memory of the container grow bigger than its limit. But that is hard to tune.
Additional context.
N/A
Express whether you'd like to help contributing this feature
If you'd like to contribute, please read the contribution guide.