Resources & Limits
Never deploy without setting resource requests & limits:
resources:
requests:
memory: “128Mi”
cpu: “250m”
limits:
memory: “256Mi”
cpu: “500m”
Without limits:
1. One pod can consume all cluster resources
2. Other pods get starved and crash
Your whole cluster goes down
With limits:
Fair resource distribution
Stable cluster performance