How to: Requests and Limits
By default, Linux will not limit resources available to processes - containers are processes running on Linux. However, when creating Pod, you can optionally specify how much of each resource a container needs. The most common resources to specify are CPU and RAM, but there are others.

_Request_ is the initial/minimum amount of a particular resource provided to a container, while _Limit_ is the maximum amount of the resource available - the container cannot exceed this value. See [resource management for pods and containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.

> A Pod resource request/limit is the sum of the resource requests/limits of containers in the Pod
> A Pod remains in "Pending" status until a Node with sufficient resources becomes available \
> Note that _Requests and Limits_ management at the Namespace-level is not for CKAD but covered in [CKA](https://www.cncf.io/certification/cka/)

#### Resource requests and limits of Pod and container

- `spec.containers[].resources.limits.cpu` - in cores and millicores, 500m = 0.5 CPU
- `spec.containers[].resources.limits.memory` - Ki (1024) / k (1000) | Mi/M | Gi/G | Ti/T | Pi/P | Ei/E
- `spec.containers[].resources.limits.hugepages-
`
- `spec.containers[].resources.requests.cpu`
- `spec.containers[].resources.requests.memory`
- `spec.containers[].resources.requests.hugepages-
`

```sh