I am searching for an specific information regarding kubernetes requests and limits and still didn't find an answer or just didn't understand quite well. Say I've defined two containers A and B for a single pod, both with its resources limits and requests:
A: RAM request: 1Gi RAM limit: 2Gi B: RAM request: 1Gi RAM limit: 2Gi
So, we have a PoD limit of 4Gi (total). Suppose the A container exceeded the limit (say +1Gi), but B is consuming 64Mi only. So, my questions are:
- What happens to the pod? Is it evicted?
- Is the container A restarted?
- Is the container A allowed to use the B's available RAM?
Thanks!