Kubernetes resources

Requests and limits are the mechanisms Kubernetes uses to control resources such as CPU and memory.
Requests are what the container is guaranteed to get.
Limits, on the other hand, make sure a container never goes above a certain value. The container is only allowed to go up to the limit, and then it is restricted.

Example:

...
resources:
  requests:
    cpu: 50m
    memory: 100Mi
   limits:
     cpu: 100m
      memory: 100Mi
...
It is important to remember that the limit can never be lower than the request.