Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit cf01c94

Browse files
author
Katie Horne
committed
Merge branch 'main' into release-1.28
2 parents f660b06 + a11c864 commit cf01c94

File tree

5 files changed

+35
-4
lines changed

5 files changed

+35
-4
lines changed

admin/workspace-management/cvms/index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ deployment option.
1717
Kubernetes Node must run a supported Linux distro with the minimum kernel
1818
version. See
1919
[Sysbox distro compatibility](https://github.com/nestybox/sysbox/blob/master/docs/distro-compat.md)
20+
and
21+
[Sysbox User Guide: Design Notes](https://github.com/nestybox/sysbox/blob/master/docs/user-guide/design.md)
2022
for more information.
2123

2224
- The cluster must allow privileged containers and `hostPath` mounts. See
@@ -28,6 +30,24 @@ deployment option.
2830
> [Google](../../../setup/kubernetes/google.md). Azure-hosted clusters will meet
2931
> these requirements as long as you use Kubernetes version 1.18+.
3032
33+
### HostPath mounts
34+
35+
The host paths required for CVM functionality depend on whether you've enabled
36+
**Caching** and **Auto loading of the `shiftfs` kernel module**. You can find
37+
these settings under **Manage > Admin > Infrastructure**.
38+
39+
The following table documents the host paths that are mounted:
40+
41+
<!-- markdownlint-disable -->
42+
43+
| Caching | Auto Load `shiftfs` | `/usr/src` | `/lib/modules` | `/var/run` | `/var/lib` |
44+
| ------- | ------------------- | ---------- | -------------- | ---------- | ---------- |
45+
| Off | N/A | Read-only | Read-only | | |
46+
| On | Off | Read-only | Read-only | Read-only | Read-write |
47+
| On | On | Read-write | Read-write | Read-only | Read-write |
48+
49+
<!-- markdownlint-restore -->
50+
3151
## Security
3252

3353
The container-based virtual machine deployment option leverages the Sysbox

admin/workspace-management/shutdown.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ Click **Edit** in the top-right. In the dialog that opens, use the slider
2626
underneath **Workspace Shutdown Behavior** to select the maximum allowed
2727
duration.
2828

29+
Select **User-controlled workspace shutdown behavior** if you'd like to allow
30+
users to set their desired shutdown behavior. This will override the org-level setting.
31+
2932
![Configure shutdown behavior](../../assets/admin/workspace-shutdown.png)
177 KB
Loading

setup/kubernetes/aws.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ support immediate volume binding.
163163
To create clusters allowing you to
164164
[enable container-based virtual machines (CVMs)](../../admin/workspace-management/cvms.md)
165165
as a workspace deployment option, you'll need to
166-
[create a nodegroup](https://eksctl.io/usage/managing-nodegroups/#creating-a-nodegroup-from-a-config-file).
166+
[create a nodegroup](https://eksctl.io/usage/eks-managed-nodes/#creating-managed-nodegroups).
167167

168168
1. Define your config file (we've named the file `coder-node.yaml`, but you can
169169
call it whatever you'd like):
@@ -177,10 +177,17 @@ as a workspace deployment option, you'll need to
177177
name: <YOUR_CLUSTER_NAME>
178178
region: <YOUR_AWS_REGION>
179179

180-
nodeGroups:
180+
managedNodeGroups:
181181
- name: coder-node-group
182182
amiFamily: Ubuntu2004
183183
ami: <your Ubuntu 20.04 AMI ID>
184+
instanceType: <instance-type>
185+
minSize: 1
186+
mazSize: 2
187+
desiredCapacity: 1
188+
overrideBootstrapCommand: |
189+
#!/bin/bash -xe
190+
sudo /etc/eks/bootstrap.sh --apiserver-endpoint '' --b64-cluster-ca 'LS0tLS1...LS0tCg==' '<cluster-name>'
184191
```
185192

186193
> [See here for a list of EKS-compatible Ubuntu AMIs](https://cloud-images.ubuntu.com/docs/aws/eks/)

workspaces/workspace-params.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ set your resource allocation.
9494
<tr>
9595
<td><b>Auto-off</b></td>
9696
<td>The amount of time your workspace can be idle before Coder stops
97-
the workspace. Available only if your site manager has allowed this
98-
setting to be changed at the user level (otherwise the organization
97+
the workspace. Available only <a href="../admin/workspace-management/shutdown.md#configuring-workspace-shutdown-behavior">if
98+
your site manager has allowed this
99+
setting to be changed at the user level</a> (otherwise the organization
99100
default applies).</td>
100101
</tr>
101102
</table>

0 commit comments

Comments
 (0)