@@ -6,13 +6,38 @@ description: Learn about the prerequisite infrastructure requirements.
6
6
Coder is deployed onto Kubernetes clusters, and we recommend the following
7
7
resource allocation minimums to ensure quality performance.
8
8
9
- For ** basic control services** , allocate at least 2 CPU cores, 4 GB of RAM, and
10
- 20 GB of storage.
9
+ ## Compute
10
+
11
+ For the Coder control plane (which consists of the ` coderd ` pod and any
12
+ additional replicas) allocate at least 2 CPU cores, 4 GB of RAM, and 20 GB of
13
+ storage.
14
+
15
+ In addition to sizing the control plane node(s), you can configure the ` coderd `
16
+ pod's resource requests/limits and number of replicas in the Helm chart. The
17
+ current defaults for both CPU and memory are the following:
18
+
19
+ ``` yaml
20
+ resources :
21
+ requests :
22
+ cpu : " 250m"
23
+ memory : " 512Mi"
24
+ limits :
25
+ cpu : " 250m"
26
+ memory : " 512Mi"
27
+ ` ` `
28
+
29
+ By default, Coder is a single-replica deployment. For production systems,
30
+ consider using at least three replicas to provide failover and load balancing
31
+ capabilities.
32
+
33
+ If you expect roughly ten or more concurrent users, we recommend increasing
34
+ these figures to improve platform performance (we also recommend regular
35
+ performance testing in a staging environment).
11
36
12
37
For **each** active developer using Coder, allocate additional resources. The
13
- specific amount required per developer varies, though we recommend
14
- starting with 4 CPUs and 16 GB of RAM, then iterating as needed. Developers are
15
- free to request the resource allocation that fits their usage:
38
+ specific amount required per developer varies, though we recommend starting with
39
+ 4 CPUs and 16 GB of RAM, then iterating as needed. Developers are free to
40
+ request the resource allocation that fits their usage:
16
41
17
42

18
43
@@ -21,7 +46,7 @@ to determine whether you should change your resource allocation. Accepting a
21
46
utilization of RAM of around 50% and CPU of around 70% is a good way to balance
22
47
performance with cost.
23
48
24
- ### Throughput
49
+ ## Throughput
25
50
26
51
We recommend the following throughput:
27
52
0 commit comments