mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-05 04:33:18 +00:00
37 lines
2.3 KiB
Markdown
37 lines
2.3 KiB
Markdown
---
|
|
title: Overriding the Default Limit for a Namespace
|
|
weight: 2
|
|
aliases:
|
|
- /rancher/v2.x/en/project-admin/resource-quotas/override-namespace-default/
|
|
---
|
|
|
|
Although the **Namespace Default Limit** propagates from the project to each namespace when created, in some cases, you may need to increase (or decrease) the quotas for a specific namespace. In this situation, you can override the default limits by editing the namespace.
|
|
|
|
In the diagram below, the Rancher administrator has a resource quota in effect for their project. However, the administrator wants to override the namespace limits for `Namespace 3` so that it has more resources available. Therefore, the administrator [raises the namespace limits]({{<baseurl>}}/rancher/v2.5/en/cluster-admin/projects-and-namespaces/) for `Namespace 3` so that the namespace can access more resources.
|
|
|
|
<sup>Namespace Default Limit Override</sup>
|
|

|
|
|
|
How to: [Editing Namespace Resource Quotas]({{<baseurl>}}/rancher/v2.5/en/cluster-admin/projects-and-namespaces/)
|
|
|
|
### Editing Namespace Resource Quotas
|
|
|
|
If there is a [resource quota]({{<baseurl>}}/rancher/v2.5/en/cluster-admin/projects-and-namespaces/resource-quotas) configured for a project, you can override the namespace default limit to provide a specific namespace with access to more (or less) project resources.
|
|
|
|
1. From the **Global** view, open the cluster that contains the namespace for which you want to edit the resource quota.
|
|
|
|
1. From the main menu, select **Projects/Namespaces**.
|
|
|
|
1. Find the namespace for which you want to edit the resource quota. Select **⋮ > Edit**.
|
|
|
|
1. Edit the Resource Quota **Limits**. These limits determine the resources available to the namespace. The limits must be set within the configured project limits.
|
|
|
|
For more information about each **Resource Type**, see [Resource Quotas]({{<baseurl>}}/rancher/v2.5/en/cluster-admin/projects-and-namespaces/resource-quotas/).
|
|
|
|
>**Note:**
|
|
>
|
|
>- If a resource quota is not configured for the project, these options will not be available.
|
|
>- If you enter limits that exceed the configured project limits, Rancher will not let you save your edits.
|
|
|
|
**Result:** Your override is applied to the namespace's resource quota.
|