diff --git a/admin/workspace-management/cpu-provisioning.md b/admin/workspace-management/cpu-provisioning.md new file mode 100644 index 000000000..22aacbbec --- /dev/null +++ b/admin/workspace-management/cpu-provisioning.md @@ -0,0 +1,24 @@ +--- +title: CPU provisioning +description: Learn how to set the CPU provisioning +ratio. +--- + +Coder allows you to set the CPU provisioning ratio for each of your +organizations. The CPU provisioning ratio configures workspaces with a +guaranteed minimum capacity, while enabling them to use available capacity for +improved performance. The guaranteed minimum capacity is equivalent to the total +CPUs provisioned for a workspace divided by the provisioning ratio. + +For example, let's say that you set a CPU provisioning ratio of 8:1. If a user +creates a workspace with 4 CPUs, then Coder will reserve 0.5 CPUs on the +underlying node, with a maximum limit of 4 CPUs. + +## Changing the CPU provisioning ratio + +1. Go to **Manage** > **Organizations** and select your organization. +1. At the top of your organization page, click **Actions** > **Edit**. Scroll + down to **CPU Provisioning Rate** and set the maximum ratio. +1. Click **Update**. + +![Set CPU provisioning ratios](../../assets/admin/cpu-provisioning-ratios.png) diff --git a/admin/workspace-management/memory-overprovisioning.md b/admin/workspace-management/memory-overprovisioning.md index c49d11e54..c893c34cf 100644 --- a/admin/workspace-management/memory-overprovisioning.md +++ b/admin/workspace-management/memory-overprovisioning.md @@ -1,13 +1,13 @@ --- -title: "Memory overprovisioning" -description: Learn how to overprovision memory requests from workspaces. +title: "Memory provisioning" +description: Learn how to provision memory requests from workspaces. --- -Coder allows you to set memory overprovisioning ratios for each of your +Coder allows you to set memory provisioning ratios for each of your organizations. By changing this ratio, you can change the number of workspaces that fit onto a single Kubernetes node. -## Step 1: Enabling memory overprovisioning +## Step 1: Enabling memory provisioning A site admin/manager must complete these steps: diff --git a/assets/admin/cpu-provisioning-ratios.png b/assets/admin/cpu-provisioning-ratios.png new file mode 100644 index 000000000..ad7a03d10 Binary files /dev/null and b/assets/admin/cpu-provisioning-ratios.png differ diff --git a/manifest.json b/manifest.json index 97bf42005..ca9822eb0 100644 --- a/manifest.json +++ b/manifest.json @@ -196,6 +196,9 @@ { "path": "./admin/workspace-management/memory-overprovisioning.md" }, + { + "path": "./admin/workspace-management/cpu-provisioning.md" + }, { "path": "./admin/workspace-management/shutdown.md" },