Skip to content

Commit 11e17aa

Browse files
ericpaulsenKatie Horne
and
Katie Horne
authored
add cpu provisioning docs (coder#430)
* add cpu provisioning docs * lint * Edit text and add screenshot * Update example Co-authored-by: Katie Horne <katie@coder.com>
1 parent 12e174f commit 11e17aa

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: CPU provisioning
3+
description: Learn how to set the CPU provisioning
4+
ratio.
5+
---
6+
7+
Coder allows you to set the CPU provisioning ratio for each of your
8+
organizations. The CPU provisioning ratio configures workspaces with a
9+
guaranteed minimum capacity, while enabling them to use available capacity for
10+
improved performance. The guaranteed minimum capacity is equivalent to the total
11+
CPUs provisioned for a workspace divided by the provisioning ratio.
12+
13+
For example, let's say that you set a CPU provisioning ratio of 8:1. If a user
14+
creates a workspace with 4 CPUs, then Coder will reserve 0.5 CPUs on the
15+
underlying node, with a maximum limit of 4 CPUs.
16+
17+
## Changing the CPU provisioning ratio
18+
19+
1. Go to **Manage** > **Organizations** and select your organization.
20+
1. At the top of your organization page, click **Actions** > **Edit**. Scroll
21+
down to **CPU Provisioning Rate** and set the maximum ratio.
22+
1. Click **Update**.
23+
24+
![Set CPU provisioning ratios](../../assets/admin/cpu-provisioning-ratios.png)

admin/workspace-management/memory-overprovisioning.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: "Memory overprovisioning"
3-
description: Learn how to overprovision memory requests from workspaces.
2+
title: "Memory provisioning"
3+
description: Learn how to provision memory requests from workspaces.
44
---
55

6-
Coder allows you to set memory overprovisioning ratios for each of your
6+
Coder allows you to set memory provisioning ratios for each of your
77
organizations. By changing this ratio, you can change the number of workspaces
88
that fit onto a single Kubernetes node.
99

10-
## Step 1: Enabling memory overprovisioning
10+
## Step 1: Enabling memory provisioning
1111

1212
A site admin/manager must complete these steps:
1313

58.1 KB
Loading

manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@
196196
{
197197
"path": "./admin/workspace-management/memory-overprovisioning.md"
198198
},
199+
{
200+
"path": "./admin/workspace-management/cpu-provisioning.md"
201+
},
199202
{
200203
"path": "./admin/workspace-management/shutdown.md"
201204
},

0 commit comments

Comments
 (0)