Skip to content

ECE: Disabling CPU hard limit and podman limitation #1511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion deploy-manage/deploy/cloud-enterprise/resource-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ products:

# Resource overrides [ece-resource-overrides]

{{ecloud}} allocators assign resources to {{es}} instances based on RAM, where RAM is proportional to CPU and disk resources. As needed, you can temporarily override the allocated resources to stabilize the deployment. You should reset overrides as soon as possible, or make the override permanent by [changing your configuration](working-with-deployments.md).
{{ecloud}} allocators assign resources to {{es}} instances based on RAM, where RAM is proportional to CPU and disk resources. As needed, you can temporarily override the allocated resources to stabilize the deployment. To do this, use the contextual menu available on each instance in the deployment UI.

Overrides are intended to be temporary and may be lost after making configuration changes to the deployment. You should reset overrides as soon as possible, or make them permanent by [changing your configuration](./configure-deployment.md).

The RAM to CPU proportions can’t be overridden per instance.

Expand All @@ -31,3 +33,33 @@ Overriding the instance size restarts the {{es}} node.
::::

When an instance within a deployment has resource overrides, it displays a warning banner reading **Elastic added temporary capacity to stabilize the deployment**. [Configuration changes](working-with-deployments.md) can still be safely submitted.

## Disabling CPU quotas at deployment level [cpu-hard-limit]

In addition to overriding resources for individual instances, you can also completely disable CPU limits for your deployment from the **Operations** section of the deployment UI.

::::{note}
When running ECE on Podman, CPU quotas for existing instances cannot be removed or updated. As a result, disabling the CPU hard limit has no effect on Podman-based allocators.
::::

::::{important}
Disabling the CPU hard limit for an entire deployment is an advanced action and should be approached with caution. This setting removes CPU quotas from the containers, which means some instances could consume excessive CPU resources and degrade the performance of other instances running on the same allocators.

We strongly recommend making this change only under the guidance of Elastic Support, and only as a temporary measure or for troubleshooting purposes.
::::

To disable CPU limits of your deployment instances, choose one of the following methods:

* Open the **Operations** page of the deployment UI, and select **Turn off** in the `CPU hard limit` section.

* Use the [advanced editor](./advanced-cluster-configuration.md), and in the **{{es}} cluster data** section, look for the :

```yaml
"resources": {
"cpu": {
"hard_limit": false
}
}
```

This change doesn’t require a restart of the deployment.
Loading