Handling Resource Issues

Learn how to place limits on resources and scale workloads for an application’s optimal performance.

We'll cover the following

One of the significant issues in a cluster environment is either resources not matching the application requirement or an overload on a particular pod. This leads to poor performance of an application. When resources are regulated or properly shared across various pods, there’s a level of control regarding the resources, and we can make better use of the application.

Resource limiting

We can control various resources in our environment by placing a limit on each deployment hosting those applications. In the pod.yaml file below, we have a request of "300m" while the limit specified is "200m". The "m" unit represents milliCPU units. We illustrate it below with the pod.yaml file.

Get hands-on with 1200+ tech skills courses.