Skip to main content

LimitRange and ResourceQuota — Self-hosted 2.0

Info

For LimitRange and ResourceQuota support, a minimum exporter version of v1.0.42 is required.

LimitRange

In some cases, you may want to constrain minimum and maximum computing resource usage per pod or container in a namespace by configuring LimitRange. PerfectScale respects your policy to constrain the resource allocations that you specified for your pods and containers in the namespace and doesn't contradict it.

When PerfectScale detects that its recommended resource allocation either exceeds or falls below the specified LimitRange for your pods and containers, the relevant indicator will be raised.

PerfectScale documentation illustration

LimitRange detected

Hover over the indicator or click on the workload to view detailed information.

PerfectScale documentation illustration

LimitRange details

Info

For automated workloads, if the recommended resource allocation exceeds or falls below the specified LimitRange, PerfectScale will not apply the recommendation. Instead, it will automatically adjust the resource allocation to the maximum or minimum value the LimitRange allows, ensuring compliance with your predefined constraints.

Caution

When introducing or updating a LimitRange into an automated cluster, it is necessary to pause automation for at least 30 minutes to ensure that resource constraints are applied correctly before resuming automated operations.

ResoureQuota

In some scenarios, you might want to constrain the overall resource consumption within a namespace by ResourceQuota to ensure that the total usage across all workloads stays within specific limitations.

When PerfectScale detects the ResourceQuota configured, the relevant indicator will be raised.

PerfectScale documentation illustration

ResourceQuota detected

Hover over the indicator or click on the workload to access the details.

Info

For automated workloads, if a ResourceQuota is detected, PerfectScale will apply recommendations in decrease-only mode to ensure constraints are respected. However, recommendations will still be available.

Caution

When introducing or updating a ResourceQuota into an automated cluster, it is necessary to pause automation for at least 30 minutes to ensure that resource constraints are applied correctly before resuming automated operations.