Skip to content

Commit a658fda

Browse files
authored
remove tolerations from workspaces as code (coder#251)
1 parent 688ce6d commit a658fda

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

environments/workspaces-as-code/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ how to configure environments and their supporting infrastructure.
1616
- You must configure a [GitHub or GitLab OAuth service](../../admin/git.md)
1717
- The image you use in your template **must** have been
1818
[imported](../../images/importing.md) into Coder
19+
- A `.coder/coder.yaml` file exists in your repository.
1920

2021
## Creating a workspace template
2122

environments/workspaces-as-code/templates.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ workspace:
3939
labels:
4040
com.coder.custom.hello: "hello"
4141
com.coder.custom.world: "world"
42-
tolerations:
43-
- key: my-key
44-
operator: Equal
45-
value: my-value
46-
effect: NoExecute
47-
tolerationSeconds: 3600
4842
configure:
4943
start:
5044
- name: "install curl"
@@ -102,22 +96,6 @@ workspace:
10296
com.coder.custom.world: world
10397
```
10498

105-
#### workspace.spec.tolerations
106-
107-
This section defines the
108-
[Kubernetes tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
109-
to be added to the pod hosting the environment.
110-
111-
```yaml
112-
workspace:
113-
tolerations:
114-
- key: my-key
115-
operator: equals
116-
value: my-value
117-
effect: NoExecute
118-
tolerationSeconds: 3600
119-
```
120-
12199
#### workspace.spec.gpucount
122100

123101
The number of GPUs to allocate to the environment.

guides/deployments/code-server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: Managed code-server Environments
3-
description: Learn how Coder can improve your code-server deployment on Kubernetes.
3+
description:
4+
Learn how Coder can improve your code-server deployment on Kubernetes.
45
---
56

67
If you're deploying [code-server](https://github.com/cdr/code-server) on
78
Kubernetes, you may want to consider Coder, our solution for developers and
8-
development teams. Coder runs on Kubernetes
9-
and offers the following features in addition to the base
10-
code-server functionality.
9+
development teams. Coder runs on Kubernetes and offers the following features in
10+
addition to the base code-server functionality.
1111

1212
## Environment Consistency
1313

@@ -45,5 +45,5 @@ code-server functionality.
4545

4646
## Getting Started
4747

48-
Coder is free to try for 60 days. See our [install
49-
guide](https://coder.com/docs/setup) for additional details.
48+
Coder is free to try for 60 days. See our
49+
[install guide](https://coder.com/docs/setup) for additional details.

0 commit comments

Comments
 (0)