@@ -6,13 +6,38 @@ description: Learn about the prerequisite infrastructure requirements.
66Coder is deployed onto Kubernetes clusters, and we recommend the following
77resource allocation minimums to ensure quality performance.
88
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).
1136
1237For **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:
1641
1742
1843
@@ -21,7 +46,7 @@ to determine whether you should change your resource allocation. Accepting a
2146utilization of RAM of around 50% and CPU of around 70% is a good way to balance
2247performance with cost.
2348
24- ### Throughput
49+ ## Throughput
2550
2651We recommend the following throughput:
2752
0 commit comments