Pods on one node share its CPU and memory. If you don't tell Kubernetes how much a Pod needs, the scheduler puts it anywhere. A greedy container can then take all of the node's memory and leave its neighbors with nothing. That is why every container has two numbers: how much it needs and how much it may take.
In this lesson
- Requests and limits in a manifest
- The scheduler reads requests
- The memory limit
- The CPU limit
- Common mistake
- Key points