k8s/StudyNotes/ ResourceRequests
- Default 0.5CPU=500m, 256Meg ram, and limit Containers to 1CPU, 512Mi
If set as LimitRange for namespace, see kind: LimitRange
Specify in pod-definition.yaml
... spec: containers: - name: simple-webapp image: ... resources: requests: memory: "1Gi" cpu: 1 limits: memory: "2Gi" cpu: 2
- Cpu exceeded, k8s limits, if memory exceded Terminates