/
Configuring pod resources

Configuring pod resources

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 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 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.
  4. Redeploy the application.





  

Related content

Default sizes for microservices Containers
Default sizes for microservices Containers
More like this
Default sizes for microservices containers
Default sizes for microservices containers
More like this
Configuring Horizontal Pod Autoscaling
Configuring Horizontal Pod Autoscaling
More like this
Configuring Horizontal Pod Autoscaling
Configuring Horizontal Pod Autoscaling
More like this
Configuring Horizontal Pod Autoscaling
Configuring Horizontal Pod Autoscaling
More like this
Checking for the runtime pod availability
Checking for the runtime pod availability
More like this