Requests represent the minimum amount of resource (Memory/CPU) a container needs to start. The container will be scheduled to run on a Kubernetes Node providing there are sufficient resources available.
Setting these values too high could prevent the Agent from being deployed if there are no Nodes with sufficient free resources.
Limits represent the maximum amount of resource (Memory/CPU) a running container is permitted to consume on a Kubernetes Node. If the limits are too high the container can cause problems for other deployments/containers running on the same Node.
Memory Limit
If a container hits the Memory limit it will be terminated (Out of memory). The container would then be restarted (re-scheduled onto an appropriate Kubernetes Node)
CPU Limit
If a container hits the CPU limit it will be throttled.
By default we set the following CPU/Memory resource limits
β
resources:
requests:
memory: "500Mi"
cpu: "300m"
limits:
memory: "4000Mi"
cpu: "1000m"
We recommend that appropriate resource limits be established specific to your own Frends Agents through testing and monitoring.
More detailed information can be found in the Kubernetes Documentation