Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8914f7a

Browse files
chore: improve prebuilds docs (#17850)
These items came up in an internal "bug bash" session yesterday.@EdwardAngert note: I've reverted to the "transparent" phrasing; thecurrent docs confused a couple folks yesterday, and I feel that"transparent" is clearly understood in this context.---------Signed-off-by: Danny Kopping <dannykopping@gmail.com>Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
1 parentd564164 commit8914f7a

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

‎docs/admin/templates/extending-templates/prebuilt-workspaces.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Prebuilt workspaces are tightly integrated with [workspace presets](./parameters
2525
##Prerequisites
2626

2727
-[**Premium license**](../../licensing/index.md)
28-
-**Compatible Terraform provider**: Use`coder/coder` Terraform provider`>= 2.4.0`.
28+
-**Compatible Terraform provider**: Use`coder/coder` Terraform provider`>= 2.4.1`.
2929
-**Feature flag**: Enable the`workspace-prebuilds`[experiment](../../../reference/cli/server.md#--experiments).
3030

3131
##Enable prebuilt workspaces for template presets
@@ -75,7 +75,7 @@ Prebuilt workspaces follow a specific lifecycle from creation through eligibilit
7575

7676
Prebuilt workspaces that fail during provisioning are retried with a backoff to prevent transient failures.
7777

78-
1. When a developerrequests a new workspace, the claiming process occurs:
78+
1. When a developercreates a new workspace, the claiming process occurs:
7979

8080
1. Developer selects a template and preset that has prebuilt workspaces configured.
8181
1. If an eligible prebuilt workspace exists, ownership transfers from the`prebuilds` user to the requesting user.
@@ -84,13 +84,17 @@ Prebuilt workspaces follow a specific lifecycle from creation through eligibilit
8484
[`coder_workspace_owner`](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/workspace_owner)
8585
datasources (see[Preventing resource replacement](#preventing-resource-replacement) for further considerations).
8686

87-
Thedeveloper doesn't see the claiming process — the workspace will just be ready faster than usual.
87+
Theclaiming process is transparent to the developer — the workspace will just be ready faster than usual.
8888

8989
You can view available prebuilt workspaces in the**Workspaces** view in the Coder dashboard:
9090

9191
![A prebuilt workspace in the dashboard](../../../images/admin/templates/extend-templates/prebuilt/prebuilt-workspaces.png)
9292
_Note the search term`owner:prebuilds`._
9393

94+
Unclaimed prebuilt workspaces can be interacted with in the same way as any other workspace.
95+
However, if a Prebuilt workspace is stopped, the reconciliation loop will not destroy it.
96+
This gives template admins the ability to park problematic prebuilt workspaces in a stopped state for further investigation.
97+
9498
###Template updates and the prebuilt workspace lifecycle
9599

96100
Prebuilt workspaces are not updated after they are provisioned.
@@ -169,6 +173,13 @@ For example, the [`ami`](https://registry.terraform.io/providers/hashicorp/aws/l
169173
has[`ForceNew`](https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/ec2/ec2_instance.go#L75-L81) set,
170174
since the AMI cannot be changed in-place._
171175

176+
####Updating claimed prebuilt workspace templates
177+
178+
Once a prebuilt workspace has been claimed, and if its template uses`ignore_changes`, users may run into an issue where the agent
179+
does not reconnect after a template update. This shortcoming is described in[this issue](https://github.com/coder/coder/issues/17840)
180+
and will be addressed before the next release (v2.23). In the interim, a simple workaround is to restart the workspace
181+
when it is in this problematic state.
182+
172183
###Current limitations
173184

174185
The prebuilt workspaces feature has these current limitations:
@@ -177,13 +188,13 @@ The prebuilt workspaces feature has these current limitations:
177188

178189
Prebuilt workspaces can only be used with the default organization.
179190

180-
[coder/internal#364](https://github.com/coder/internal/issues/364)
191+
[View issue](https://github.com/coder/internal/issues/364)
181192

182193
-**Autoscaling**
183194

184195
Prebuilt workspaces remain running until claimed. There's no automated mechanism to reduce instances during off-hours.
185196

186-
[coder/internal#312](https://github.com/coder/internal/issues/312)
197+
[View issue](https://github.com/coder/internal/issues/312)
187198

188199
###Monitoring and observability
189200

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp