Resource Requirements
Notation | bytes |
---|---|
1 G (Gigabyte) | 1,000,000,000 |
1 M (Megabyte) | 1,000,000 |
1 K (Kilobyte) | 1,000 |
1 Gi (Gibibyte) | 1,073,741,824 |
1 Mi (Mebibyte) | 1,048,576 |
1 Ki (Kibibyte) | 1,024 |
Example:
# pod's spec
containers:
- resources:
requests:
cpu: "500m"
memory: "128Mi"
limits:
cpu: "1000m"
memory: "256Mi"
- Requests -> minimum
- Limits -> maximum