From ee7673d2b209b311659fd0f748ae993a6830ce1f Mon Sep 17 00:00:00 2001 From: Ahmed Shawki <34711662+ashawka@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:18:00 +0400 Subject: [PATCH 1/3] Update set-container-default-resource-limits.md From Rancher UI > Project > Create > Container Default Resource limit I can see already that NVIDIA GPU limit/reservation is available, although from the resource type section, there is not mention to the GPU --- .../set-container-default-resource-limits.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md b/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md index 4ebf4700c6c..da7e81d9349 100644 --- a/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md +++ b/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md @@ -36,4 +36,6 @@ The following resource limits can be configured: | CPU Limit | The maximum amount of CPU (in [millicores](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu)) allocated to the container.| | CPU Reservation | The minimum amount of CPU (in millicores) guaranteed to the container. | | Memory Limit | The maximum amount of memory (in bytes) allocated to the container. | -| Memory Reservation | The minimum amount of memory (in bytes) guaranteed to the container. \ No newline at end of file +| Memory Reservation | The minimum amount of memory (in bytes) guaranteed to the container. + +| NVIDIA GPU Limit/Reservation | From bce11c60f730a77a653b837d69a81e5ac2931b57 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Fri, 19 May 2023 13:26:42 -0700 Subject: [PATCH 2/3] Fix formatting and GPU limit/reservation description --- .../set-container-default-resource-limits.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md b/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md index da7e81d9349..dcd0df91382 100644 --- a/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md +++ b/docs/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md @@ -37,5 +37,4 @@ The following resource limits can be configured: | CPU Reservation | The minimum amount of CPU (in millicores) guaranteed to the container. | | Memory Limit | The maximum amount of memory (in bytes) allocated to the container. | | Memory Reservation | The minimum amount of memory (in bytes) guaranteed to the container. - -| NVIDIA GPU Limit/Reservation | +| NVIDIA GPU Limit/Reservation | The amount of GPUs allocated to the container. The limit and reservation are always the same for GPUs. | From 701ab13a00fe3af270e599c1a1dd5120e7a5f4a7 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Fri, 19 May 2023 13:28:24 -0700 Subject: [PATCH 3/3] 2.6: add GPU limit/reservation row to resource quota type table --- .../set-container-default-resource-limits.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-2.6/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md b/versioned_docs/version-2.6/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md index 4ebf4700c6c..dcd0df91382 100644 --- a/versioned_docs/version-2.6/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md +++ b/versioned_docs/version-2.6/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas/set-container-default-resource-limits.md @@ -36,4 +36,5 @@ The following resource limits can be configured: | CPU Limit | The maximum amount of CPU (in [millicores](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu)) allocated to the container.| | CPU Reservation | The minimum amount of CPU (in millicores) guaranteed to the container. | | Memory Limit | The maximum amount of memory (in bytes) allocated to the container. | -| Memory Reservation | The minimum amount of memory (in bytes) guaranteed to the container. \ No newline at end of file +| Memory Reservation | The minimum amount of memory (in bytes) guaranteed to the container. +| NVIDIA GPU Limit/Reservation | The amount of GPUs allocated to the container. The limit and reservation are always the same for GPUs. |