Skip to content

Commit 4c1b767

Browse files
committed
attempt at explaining templates
1 parent 8cb6a88 commit 4c1b767

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

docs/concepts.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,56 @@
11
# Coder Concepts
22

3-
43
## Templates
54

6-
Coder admins have the ability to create, update, and delete *templates*. Templates are the blueprint for developer workspaces.
5+
Coder admins manage *templates* to define the infrastructure behind workspaces. A Coder deployment can have multiple templates for different workloads.
6+
7+
### ex. "Frontend" Template
8+
9+
| Resource name | Status |
10+
| ----------------------- | ---------- |
11+
| Kubernetes pod (NodeJS) | ephemeral |
12+
| API token (Backend) | ephemeral |
13+
| Disk (Source code) | persistant |
14+
15+
### ex. "Data Science" Template
16+
17+
| Resource name | Status |
18+
| -------------------------------------- | ---------- |
19+
| Kubernetes pod (pyCharm + JupyterLab) | ephemeral |
20+
| Readonly volume mount (shared dataset) | persistant |
21+
22+
### ex. "MacOS" Template
23+
24+
| Resource name | Status |
25+
| ------------------ | ---------- |
26+
| MacOS VM | ephemeral |
27+
| Disk (source code) | persistant |
28+
29+
### ex. "Linux Debugging" Template
30+
31+
| Resource name | Status |
32+
| ------------------------ | ---------- |
33+
| EC2 VM (Debian 11.3 AMI) | persistant |
34+
35+
### Templates are managed via the CLI
36+
37+
Admins can use Coder's production-ready examples, or create/modify templates with standard Terraform.
38+
39+
```sh
40+
# start from an example template
41+
coder templates init
42+
43+
# optional: modify the template
44+
vim <template-name>/main.tf
45+
46+
# add the template to Coder
47+
coder templates <create/update> <template-name>
48+
```
749

850
## Workspaces
51+
52+
Coder users create *workspaces* to get a remote development environment. Depending on the template,
53+
54+
55+
56+

0 commit comments

Comments
 (0)