diff --git a/content/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/project-quotas/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/project-quotas/_index.md index 7d1f25b35fd..f15455ffad9 100644 --- a/content/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/project-quotas/_index.md +++ b/content/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/project-quotas/_index.md @@ -17,10 +17,11 @@ Resource quotas in Rancher work similarly to how they do in the [native version In a standard Kubernetes deployment, resource quotas are applied to individual namespaces. However, you cannot apply the quota to multiple namespaces with a single action. Instead, the resource quota must be applied each namespace, which can be tedious. The following diagram depict resource quotas in a native Kubernetes deployment. Notice that: - Resource quotas apply only to namespaces they are directly assigned to. -- Quotas are applied to individual namespaces, rather than collectively. +- Quotas are applied to individual namespaces, rather than collectively. Even though each quota sets the same limits, a unique quota is applied to each namespace. -Native Kubernetes Resource Quota Implementation Example ![Native Kubernetes Resource Quota Implementation]({{< baseurl >}}/img/rancher/kubernetes-resource-quota.svg) +Native Kubernetes Resource Quota Implementation Example + In Rancher's implementation of resource quotas, the quota is applied to a [project]({{< baseurl >}}/rancher/v2.x/en/k8s-in-rancher/projects-and-namespaces/#projects) instead. The resource quota includes two limits: @@ -38,10 +39,11 @@ The following diagram depict resource quotas in a native Kubernetes deployment. - The resource quota is applied to the entire project. - The project limit sets what resources are available for the entire project. -- Each namespace in the project inherits namespace default limit, which sets the cap for resources available for each individual namespace. You don't have to apply it to each namespace. +- Each namespace in the project inherits the namespace default limit, which sets the cap for resources available for each individual namespace. The same namespace default limit is automatically applied to each namespace. -Rancher Resource Quota Implementation Example ![Rancher Resource Quota Implementation]({{< baseurl >}}/img/rancher/rancher-resource-quota.svg) +Rancher Resource Quota Implementation Example + The following table explains the key differences between the two quota types. @@ -51,18 +53,10 @@ Rancher Resource Quotas | Native Kubernetes Resource Quotas Applies resource limits to the project and all its namespaces. | Applies resource limits to individual namespaces. Applies resource quotas to namespaces through inheritance. | Apply only to the assigned namespace. -<<<<<<< HEAD -## Project Quota Resource Pool - -When you create a resource quota, you are configuring the pool of resources available to the project. You can set limits for a variety of different resources, for both your project and your namespaces. - - -======= ## Resource Quota Types When you create a resource quota, you are configuring the pool of resources available to the project. You can set limits for a variety of different resources, for both your project and your namespaces. ->>>>>>> change per denise ### Namespace Default Limit Overrides Although each namespace in a project inherits the **Namespace Default Limit**, you can also override this setting for specific namespaces that require additional (or fewer) resources. diff --git a/src/diagrams/kubernetes-resource-quota.xml b/src/diagrams/kubernetes-resource-quota.xml index be4fedb4059..74e8832e14d 100644 --- a/src/diagrams/kubernetes-resource-quota.xml +++ b/src/diagrams/kubernetes-resource-quota.xml @@ -1 +1 @@ -7VjbcpswEP0aHtMBZMf4MSaXzrTppM1k+iyDDJoIRIWwnX59VyBxMZAwqZukM44fwGd3Je3qnN2MLeQn+xuBs/iWh4RZrh3uLXRpua67QB48FPJUIZ5zXgGRoGEFOQ1wT38TDdoaLWhI8o6j5JxJmnXBgKcpCWQHw0LwXddtw1l31wxHpAfcB5j10Z80lLHOYm43+GdCo9js7NjassbBYyR4ker9LBdtyr/KnGCzlvbPYxzyXQtCVxbyBeeyekv2PmGqtqZsVdz1iLU+tyCpnBLgVgFbzApiTnzOIHQV0q06n3zSNTn/VahDrSTZyzPMaJRa6EJdAexEBLyArSx1Ks/y8kKV1fGyfRMLb5F+lnso5/IWGRedTaBsKFSffuw3LOmWQNSXYk1ESiTwxLV9VuTlMaqFIeFq7e5+AJdpGdTtZOiW90ZUZRww72IqyX2GA2XdAc8Bi2XCtLm+OfUl4AkN4F0VIZeCPxK/zgktPH/pX9cWQyhXFYAy1vK07cX8wgNc1/dSFxettkRICvy80AbJM12/a5xQpmSW8SyjKRB/xfCasFXNRLNBylNIZcUhJSpVBLLrKrQZo0mktiT7FqQZdEN4QqR4AhetbqTJvGukMl9qLG7JBBnWYy3PqF6qoSi8aJaOUNwboOzBRaq8s5Es6qaB18bdHqlBP2G9kOkDOn9noACQbb8Az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9XUvcKIPzNmZlOFRSTNeA/1u6eipqKhxuqObxbZPy4oZNtj53a7UgSfcsk1WvU21bep/EKBA0o2zrqUGijmtnCstXjsXfKYdkPxuEfgzmgPdxra/XY/Nzr08wNX+UFSvhAZ7b6DBWf0U/5tVNtFuooWIzPZHgaQPy4w7/EZ/L/SiMp8qqOk3gAmMap05/E5rTC/OrNNdN6sp+MH8EAinvEtj0El37Lh8UAnBx38OCds7Btd0nRpkq2baNcOU/SjjgL/rgZTWI2GDtMkT0dR5/H51Rma+CfnfAJdrHEihbb2dJReobdoNm7h2UUodFkFH0airV6ie4nuJfqwDnMOiW5859Mu0Z31uEHN/0Kiy0VOo9HopBpt9xq9V6MbeFblU07Sy9Bo+6NptN1rdK/R/71GH9hhzqLRzvk1eusl94kFenhSgUa9QL9boJ3LEegP954b9QLdC3Qv0Id1mBMINPzc/Ccjs1X++IJu/wA= \ No newline at end of file diff --git a/src/diagrams/rancher-resource-quota.xml b/src/diagrams/rancher-resource-quota.xml index 6c87a44b6f5..daf6dc25e97 100644 --- a/src/diagrams/rancher-resource-quota.xml +++ b/src/diagrams/rancher-resource-quota.xml @@ -1 +1 @@ -7VpLc+MoEP41Ps6UBJYtHWMn2T1splKTmtrZI5awzAwSWoxjZ379gADJ6BFrHDuPKtsHoYYGuvvjo8EewXm2+4ujYnXHEkxHwEt2I3g9AgBMYSgfSvKkJX7kT7Qk5SQxslrwQH5hI/SMdEMSvHYaCsaoIIUrjFme41g4MsQ527rNloy6oxYoxS3BQ4xoW/ovScRKS8PAq+V/Y5Ku7Mi+Z2oWKP6ZcrbJzXgjAJflR1dnyPZl2q9XKGHbPRG8GcE5Z0zoUrabY6qca92m9W57aqt5c5yLIQpAKzwiusF2xhMqVWcJeVTzE0/GJ5P/N2pSM4F34hOiJM1H8EqFQI6EuSzIutLVufi0LgOqav2w2NW6spSaZzmGalxGkTLuDCLdBhP1bet+RXm8Kgec0826HFp3Jo3U/bljSHFpipUCxypQxgorb/iyersiAj8UKFa1Ww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ZwKpRjjQBZ/PuaW05YTiFEEOvAU5O4OcHQuSKwpytpwj3IKcMwY5BxJzgSDHubzHHVzY4R6yD3u4w3VuDvdoh+tcj8O97Sq9C4fbQMwFNvFbLHGFumP5OKV4fScv9+ijUVGk7yOIvC22h9eE/1Rl5fMvOXjCxYq3SHz9TzWW6UuZpo158xipq0w22JOG9rvKSj3Zllk2YWQijpIZVrnUzgsOtGtO2y9zmO5yKFmCKeLkFWufYBp21cIzI+mssM6XYXoQBQZ9vYqsN6pUCU+tIuhUjlu8yoSX6aBWUUph0e12YJq2O29gHgumd11gOo4OZr/i0tqCCfxKRXalou7ABC1umXx4MCt8HUJqptaLkekCDSjh+T5XfF1rp+nqd6Jg36lW1SGdLQ7lL0Bn+forX6q9czrdS9JpV+Zh4B/qN/N74aoixwGnItPkNrvYte+mlv2in/Kgqh7p1CX7nYW0Oe+onea42w5z2p/aNIRz3XegctQiRsWSMVHlnOVUx03HHgB+mGD2XKc6xb7FCfZIxGv57xyZ3yr/aQY+/A8= \ No newline at end of file diff --git a/src/img/rancher/kubernetes-resource-quota.svg b/src/img/rancher/kubernetes-resource-quota.svg index 4b5c4c34434..de8b3b67ede 100644 --- a/src/img/rancher/kubernetes-resource-quota.svg +++ b/src/img/rancher/kubernetes-resource-quota.svg @@ -1,2 +1,2 @@ -
Native Kubernetes Cluster
[Not supported by viewer]
Namespace 1
[Not supported by viewer]
Resource Quota:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
Namespace 2
[Not supported by viewer]
Resource Quota:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
\ No newline at end of file +
Native Kubernetes Cluster
[Not supported by viewer]
Namespace 1
[Not supported by viewer]
Resource Quota 1:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
Namespace 2
[Not supported by viewer]
Resource Quota 2:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
Namespace 4
[Not supported by viewer]
Resource Quota 4:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
Namespace 3
[Not supported by viewer]
Resource Quota 3:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
\ No newline at end of file diff --git a/src/img/rancher/rancher-resource-quota.svg b/src/img/rancher/rancher-resource-quota.svg index 9c191ebb748..2db02773f6d 100644 --- a/src/img/rancher/rancher-resource-quota.svg +++ b/src/img/rancher/rancher-resource-quota.svg @@ -1,2 +1,2 @@ -
Rancher Cluster
[Not supported by viewer]
Rancher Project
[Not supported by viewer]
Resource Quota:



[Not supported by viewer]
Project Limits:

CPU Limit: 2000 milli CPUs
Memory Limit: 2048 MiB
[Not supported by viewer]
Namespace
Default Limits:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
Namespace 2
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
Namespace 1
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
\ No newline at end of file +
Rancher Cluster
[Not supported by viewer]
Rancher Project
[Not supported by viewer]
Namespace 2
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
Namespace 1
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
Resource Quota:
[Not supported by viewer]
Project Limit:

CPU Limit: 2000 milli CPUs
Memory Limit: 2048 MiB
[Not supported by viewer]
Namespace 3
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
Namespace 4
[Not supported by viewer]
Namespace
Default Limit

[Not supported by viewer]
Namespace
Default Limit:

CPU Limit: 500 milli CPUs
Memory Limit 1024 MiB

[Not supported by viewer]
\ No newline at end of file