Skip to content

Commit 1a4dfb9

Browse files
committed
More TODOs
1 parent 2987193 commit 1a4dfb9

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

docs/admin/architectures/1k-users.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ tech startups, educational units, or small to mid-sized enterprises.
1919
### Workspace nodes
2020

2121
TODO
22+
23+
### Provisioner nodes
24+
25+
TODO

docs/admin/architectures/2k-users.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,29 @@ enabling it for deployment reliability.
2323

2424
### Workspace nodes
2525

26+
| Users | Node capacity | Replicas | GCP | AWS | Azure |
27+
| ----------- | -------------------- | -------- | ---------------- | ------------ | ----------------- |
28+
| Up to 2,000 | 8 vCPU, 32 GB memory | 2 | `t2d-standard-8` | `t3.2xlarge` | `Standard_D8s_v3` |
29+
2630
TODO
2731

32+
Max pods per node 256
33+
2834
Developers for up to 2000+ users architecture are in 2 regions (a different
2935
cluster) and are evenly split. In practice, this doesn’t change much besides the
3036
diagram and workspaces node pool autoscaling config as it still uses the central
3137
provisioner. Recommend multiple provisioner groups for zero-trust and
3238
multi-cloud use cases.
39+
40+
### Provisioner nodes
41+
42+
TODO
43+
44+
For example, to support 120 concurrent workspace builds:
45+
46+
- Create a cluster/nodepool with 4 nodes, 8-core each (AWS: `t3.2xlarge` GCP:
47+
`e2-highcpu-8`)
48+
- Run coderd with 4 replicas, 30 provisioner daemons each.
49+
(`CODER_PROVISIONER_DAEMONS=30`)
50+
- Ensure Coder's [PostgreSQL server](./configure.md#postgresql-database) can use
51+
up to 2 cores and 4 GB RAM

docs/admin/architectures/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ users.
263263
Mention that as users onboard, the autoscaling config should take care of
264264
ongoing workspaces
265265

266+
0.25 cores and 256 MB per provisioner daemon
267+
266268
### Database
267269

268270
PostgreSQL database

0 commit comments

Comments
 (0)