Exceeding a Container's memory limit

Faizal Musthafa:
Hey everyone.
I have a doubt regarding limits and request.
i have a node with 1gb of memory. now i’ve created a pod with 512Mi request for memory and a second pod without any request or limits.
what happens if the second pod uses more 512Mi memory?* will it get evicted and the status of the pod be OOMKilled? and what happens if the 512Mi is a limit not a request for the first pod?

  • assuming first pod doesnt use more than 512Mi

unnivkn: