Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A pod/container is allowed to use more of the resources than specified in the request. However, it cannot use more than what is specified in the resource limit.

For example, if you set a memory request of 3072Mi 512Mi for a pod, and the available memory is 6144Mi, the pod can try to use more memory. Nevertheless, if you have set a memory limit of 4096Mi 3072Mi for that pod, the system will prevent the pod from using the more memory than defined in the resource limit.

Here is how you can change the CPU and memory figures for resources used by a microservice.

  1. Open the values.yaml file.
  2. Go to the respective microservice for which you want to configure the resource requests and limits as shown in the example below.
  3. Save the file.





  


Panel
borderStylesolid
titleYou may be interested in...
What is new
Application architecture
Key terms
Install
Usage scenarios