Skip to content

Commit d8d86b1

Browse files
authored
docs: move architecture to top level (#13722)
1 parent 6c94dd4 commit d8d86b1

File tree

10 files changed

+74
-73
lines changed

10 files changed

+74
-73
lines changed

docs/admin/scaling/scale-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ Database:
9090

9191
## Available reference architectures
9292

93-
[Up to 1,000 users](../architectures/1k-users.md)
93+
[Up to 1,000 users](../../architecture/1k-users.md)
9494

95-
[Up to 2,000 users](../architectures/2k-users.md)
95+
[Up to 2,000 users](../../architecture/2k-users.md)
9696

97-
[Up to 3,000 users](../architectures/3k-users.md)
97+
[Up to 3,000 users](../../architecture/3k-users.md)
9898

9999
## Hardware recommendation
100100

docs/admin/scaling/scale-utility.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ infrastructure. For scale-testing Kubernetes clusters we recommend to install
66
and use the dedicated Coder template,
77
[scaletest-runner](https://github.com/coder/coder/tree/main/scaletest/templates/scaletest-runner).
88

9-
Learn more about [Coder’s architecture](../architectures/architecture.md) and
9+
Learn more about [Coder’s architecture](../../architecture/architecture.md) and
1010
our [scale-testing methodology](scale-testing.md).
1111

1212
## Recent scale tests
1313

1414
> Note: the below information is for reference purposes only, and are not
1515
> intended to be used as guidelines for infrastructure sizing. Review the
16-
> [Reference Architectures](../architectures/validated-arch.md#node-sizing) for
17-
> hardware sizing recommendations.
16+
> [Reference Architectures](../../architecture/validated-arch.md#node-sizing)
17+
> for hardware sizing recommendations.
1818
1919
| Environment | Coder CPU | Coder RAM | Coder Replicas | Database | Users | Concurrent builds | Concurrent connections (Terminal/SSH) | Coder Version | Last tested |
2020
| ---------------- | --------- | --------- | -------------- | ----------------- | ----- | ----------------- | ------------------------------------- | ------------- | ------------ |
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/admin/architectures/architecture.md renamed to docs/architecture/architecture.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ _provisionerd_ is the execution context for infrastructure modifying providers.
2626
At the moment, the only provider is Terraform (running `terraform`).
2727

2828
By default, the Coder server runs multiple provisioner daemons.
29-
[External provisioners](../provisioners.md) can be added for security or
29+
[External provisioners](../admin/provisioners.md) can be added for security or
3030
scalability purposes.
3131

3232
### Agents
@@ -43,7 +43,7 @@ It offers the following services along with much more:
4343
- `startup_script` automation
4444

4545
Templates are responsible for
46-
[creating and running agents](../../templates/index.md#coder-agent) within
46+
[creating and running agents](../templates/index.md#coder-agent) within
4747
workspaces.
4848

4949
### Service Bundling
@@ -73,7 +73,7 @@ they're destroyed on workspace stop.
7373

7474
### Single region architecture
7575

76-
![Architecture Diagram](../../images/architecture-single-region.png)
76+
![Architecture Diagram](../images/architecture-single-region.png)
7777

7878
#### Components
7979

@@ -118,11 +118,11 @@ and _Coder workspaces_ deployed in the same region.
118118

119119
- Integrate with existing Single Sign-On (SSO) solutions used within the
120120
organization via the supported OAuth 2.0 or OpenID Connect standards.
121-
- Learn more about [Authentication in Coder](../auth.md).
121+
- Learn more about [Authentication in Coder](../admin/auth.md).
122122

123123
### Multi-region architecture
124124

125-
![Architecture Diagram](../../images/architecture-multi-region.png)
125+
![Architecture Diagram](../images/architecture-multi-region.png)
126126

127127
#### Components
128128

@@ -168,7 +168,7 @@ disruptions. Additionally, multi-cloud deployment enables organizations to
168168
leverage the unique features and capabilities offered by each cloud provider,
169169
such as region availability and pricing models.
170170

171-
![Architecture Diagram](../../images/architecture-multi-cloud.png)
171+
![Architecture Diagram](../images/architecture-multi-cloud.png)
172172

173173
#### Components
174174

@@ -202,7 +202,7 @@ nearest region and technical specifications provided by the cloud providers.
202202
**Workspace proxy**
203203

204204
- _Security recommendation_: Use `coder` CLI to create
205-
[authentication tokens for every workspace proxy](../workspace-proxies.md#requirements),
205+
[authentication tokens for every workspace proxy](../admin/workspace-proxies.md#requirements),
206206
and keep them in regional secret stores. Remember to distribute them using
207207
safe, encrypted communication channel.
208208

@@ -220,11 +220,11 @@ nearest region and technical specifications provided by the cloud providers.
220220
- For Azure: _Azure Kubernetes Service_
221221
- For GCP: _Google Kubernetes Engine_
222222

223-
See how to deploy
223+
See here for an example deployment of
224224
[Coder on Azure Kubernetes Service](https://github.com/ericpaulsen/coder-aks).
225225

226-
Learn more about [security requirements](../../install/kubernetes.md) for
227-
deploying Coder on Kubernetes.
226+
Learn more about [security requirements](../install/kubernetes.md) for deploying
227+
Coder on Kubernetes.
228228

229229
**Load balancer**
230230

@@ -283,9 +283,9 @@ The key features of the air-gapped architecture include:
283283
- _Secure data transfer_: Enable encrypted communication channels and robust
284284
access controls to safeguard sensitive information.
285285

286-
Learn more about [offline deployments](../../install/offline.md) of Coder.
286+
Learn more about [offline deployments](../install/offline.md) of Coder.
287287

288-
![Architecture Diagram](../../images/architecture-air-gapped.png)
288+
![Architecture Diagram](../images/architecture-air-gapped.png)
289289

290290
#### Components
291291

@@ -327,8 +327,8 @@ across multiple regions and diverse cloud platforms.
327327
- Since the _Registry_ is isolated from the internet, platform engineers are
328328
responsible for maintaining Workspace container images and conducting periodic
329329
updates of base Docker images.
330-
- It is recommended to keep [Dev Containers](../../templates/dev-containers.md)
331-
up to date with the latest released
330+
- It is recommended to keep [Dev Containers](../templates/dev-containers.md) up
331+
to date with the latest released
332332
[Envbuilder](https://github.com/coder/envbuilder) runtime.
333333

334334
**Mirror of Terraform Registry**
@@ -360,7 +360,7 @@ Learn more about
360360
[Dev containers support](https://coder.com/docs/v2/latest/templates/dev-containers)
361361
in Coder.
362362

363-
![Architecture Diagram](../../images/architecture-devcontainers.png)
363+
![Architecture Diagram](../images/architecture-devcontainers.png)
364364

365365
#### Components
366366

docs/admin/architectures/validated-arch.md renamed to docs/architecture/validated-arch.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ by default.
6161

6262
### User
6363

64-
A [user](../users.md) is an individual who utilizes the Coder platform to
64+
A [user](../admin/users.md) is an individual who utilizes the Coder platform to
6565
develop, test, and deploy applications using workspaces. Users can select
6666
available templates to provision workspaces. They interact with Coder using the
6767
web interface, the CLI tool, or directly calling API methods.
6868

6969
### Workspace
7070

71-
A [workspace](../../workspaces.md) refers to an isolated development environment
71+
A [workspace](../workspaces.md) refers to an isolated development environment
7272
where users can write, build, and run code. Workspaces are fully configurable
7373
and can be tailored to specific project requirements, providing developers with
7474
a consistent and efficient development environment. Workspaces can be
@@ -82,20 +82,20 @@ Coder templates and deployed on resources created by provisioners.
8282

8383
### Template
8484

85-
A [template](../../templates/index.md) in Coder is a predefined configuration
86-
for creating workspaces. Templates streamline the process of workspace creation
87-
by providing pre-configured settings, tooling, and dependencies. They are built
88-
by template administrators on top of Terraform, allowing for efficient
89-
management of infrastructure resources. Additionally, templates can utilize
90-
Coder modules to leverage existing features shared with other templates,
91-
enhancing flexibility and consistency across deployments. Templates describe
92-
provisioning rules for infrastructure resources offered by Terraform providers.
85+
A [template](../templates/index.md) in Coder is a predefined configuration for
86+
creating workspaces. Templates streamline the process of workspace creation by
87+
providing pre-configured settings, tooling, and dependencies. They are built by
88+
template administrators on top of Terraform, allowing for efficient management
89+
of infrastructure resources. Additionally, templates can utilize Coder modules
90+
to leverage existing features shared with other templates, enhancing flexibility
91+
and consistency across deployments. Templates describe provisioning rules for
92+
infrastructure resources offered by Terraform providers.
9393

9494
### Workspace Proxy
9595

96-
A [workspace proxy](../workspace-proxies.md) serves as a relay connection option
97-
for developers connecting to their workspace over SSH, a workspace app, or
98-
through port forwarding. It helps reduce network latency for geo-distributed
96+
A [workspace proxy](../admin/workspace-proxies.md) serves as a relay connection
97+
option for developers connecting to their workspace over SSH, a workspace app,
98+
or through port forwarding. It helps reduce network latency for geo-distributed
9999
teams by minimizing the distance network traffic needs to travel. Notably,
100100
workspace proxies do not handle dashboard connections or API calls.
101101

@@ -212,11 +212,11 @@ resource "kubernetes_deployment" "coder" {
212212

213213
For sizing recommendations, see the below reference architectures:
214214

215-
- [Up to 1,000 users](1k-users.md)
215+
- [Up to 1,000 users](./1k-users.md)
216216

217-
- [Up to 2,000 users](2k-users.md)
217+
- [Up to 2,000 users](./2k-users.md)
218218

219-
- [Up to 3,000 users](3k-users.md)
219+
- [Up to 3,000 users](./3k-users.md)
220220

221221
### Networking
222222

@@ -297,7 +297,7 @@ considerations:
297297
active users.
298298
- Enable High Availability mode for database engine for large scale deployments.
299299

300-
If you enable [database encryption](../encryption.md) in Coder, consider
300+
If you enable [database encryption](../admin/encryption.md) in Coder, consider
301301
allocating an additional CPU core to every `coderd` replica.
302302

303303
#### Resource utilization guidelines
@@ -320,26 +320,26 @@ could affect workspace users experience once the platform is live.
320320

321321
### Helm Chart Configuration
322322

323-
1. Reference our [Helm chart values file](../../../helm/coder/values.yaml) and
323+
1. Reference our [Helm chart values file](../../helm/coder/values.yaml) and
324324
identify the required values for deployment.
325325
1. Create a `values.yaml` and add it to your version control system.
326326
1. Determine the necessary environment variables. Here is the
327-
[full list of supported server environment variables](../../cli/server.md).
327+
[full list of supported server environment variables](../cli/server.md).
328328
1. Follow our documented
329-
[steps for installing Coder via Helm](../../install/kubernetes.md).
329+
[steps for installing Coder via Helm](../install/kubernetes.md).
330330

331331
### Template configuration
332332

333333
1. Establish dedicated accounts for users with the _Template Administrator_
334334
role.
335335
1. Maintain Coder templates using
336-
[version control](../../templates/change-management.md).
336+
[version control](../templates/change-management.md).
337337
1. Consider implementing a GitOps workflow to automatically push new template
338338
versions into Coder from git. For example, on Github, you can use the
339339
[Update Coder Template](https://github.com/marketplace/actions/update-coder-template)
340340
action.
341341
1. Evaluate enabling
342-
[automatic template updates](../../templates/general-settings.md#require-automatic-updates-enterprise)
342+
[automatic template updates](../templates/general-settings.md#require-automatic-updates-enterprise)
343343
upon workspace startup.
344344

345345
### Observability
@@ -351,13 +351,13 @@ could affect workspace users experience once the platform is live.
351351
leverage pre-configured dashboards, alerts, and runbooks for monitoring
352352
Coder. This includes integrations between Prometheus, Grafana, Loki, and
353353
Alertmanager.
354-
1. Review the [Prometheus response](../prometheus.md) and set up alarms on
354+
1. Review the [Prometheus response](../admin/prometheus.md) and set up alarms on
355355
selected metrics.
356356

357357
### User support
358358

359-
1. Incorporate [support links](../appearance.md#support-links) into internal
360-
documentation accessible from the user context menu. Ensure that hyperlinks
361-
are valid and lead to up-to-date materials.
359+
1. Incorporate [support links](../admin/appearance.md#support-links) into
360+
internal documentation accessible from the user context menu. Ensure that
361+
hyperlinks are valid and lead to up-to-date materials.
362362
1. Encourage the use of `coder support bundle` to allow workspace users to
363363
generate and provide network-related diagnostic data.

docs/images/icons/container.svg

Lines changed: 2 additions & 0 deletions
Loading

docs/manifest.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,30 @@
1414
}
1515
]
1616
},
17+
{
18+
"title": "Architecture",
19+
"description": "Learn about validated and reference architectures for Coder",
20+
"path": "./architecture/architecture.md",
21+
"icon_path": "./images/icons/container.svg",
22+
"children": [
23+
{
24+
"title": "Validated Architecture",
25+
"path": "./architecture/validated-arch.md"
26+
},
27+
{
28+
"title": "Up to 1,000 users",
29+
"path": "./architecture/1k-users.md"
30+
},
31+
{
32+
"title": "Up to 2,000 users",
33+
"path": "./architecture/2k-users.md"
34+
},
35+
{
36+
"title": "Up to 3,000 users",
37+
"path": "./architecture/3k-users.md"
38+
}
39+
]
40+
},
1741
{
1842
"title": "Installation",
1943
"description": "How to install and deploy Coder",
@@ -343,30 +367,6 @@
343367
"path": "./admin/README.md",
344368
"icon_path": "./images/icons/wrench.svg",
345369
"children": [
346-
{
347-
"title": "Architecture",
348-
"description": "Learn about validated and reference architectures for Coder",
349-
"path": "./admin/architectures/architecture.md",
350-
"icon_path": "./images/icons/container.svg",
351-
"children": [
352-
{
353-
"title": "Validated Architecture",
354-
"path": "./admin/architectures/validated-arch.md"
355-
},
356-
{
357-
"title": "Up to 1,000 users",
358-
"path": "./admin/architectures/1k-users.md"
359-
},
360-
{
361-
"title": "Up to 2,000 users",
362-
"path": "./admin/architectures/2k-users.md"
363-
},
364-
{
365-
"title": "Up to 3,000 users",
366-
"path": "./admin/architectures/3k-users.md"
367-
}
368-
]
369-
},
370370
{
371371
"title": "Authentication",
372372
"description": "Learn how to set up authentication using GitHub or OpenID Connect",

docs/platforms/other.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
Coder is highly extensible and is not limited to the platforms outlined in these
44
docs. The control plane can be provisioned on any VM or container compute, and
55
workspaces can include any Terraform resource. See our
6-
[architecture documentation](../admin/architectures/architecture.md) for more
7-
details.
6+
[architecture documentation](../architecture/architecture.md) for more details.
87

98
The following resources may help as you're deploying Coder.
109

0 commit comments

Comments
 (0)