A container requests 256Mi memory and has a limit of 512Mi. The container tries to allocate 600Mi. What happens?
Exceeding memory limit triggers OOM kill. With default restartPolicy, it restarts.
Why this answer
When a container exceeds its memory limit, the kernel OOM killer terminates it. The container will be restarted (depending on restartPolicy).