You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(enterprise/coderd): allow system users to be added to groups (coder#19518)
closescoder#18274
This pull request makes system users visible in various group related
queries so that they can be added to and removed from groups. This
allows system user quotas to be configured. System users are still
ignored in certain queries, such as when license seat consumption is
determined.
This pull request further ensures the existence of a
"coder_prebuilt_workspaces" group in any organization that needs
prebuilt workspaces
---------
Co-authored-by: Susana Ferreira <susana@coder.com>
Copy file name to clipboardExpand all lines: docs/admin/templates/extending-templates/prebuilt-workspaces.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,12 +233,18 @@ The system always maintains the desired number of prebuilt workspaces for the ac
233
233
234
234
### Managing resource quotas
235
235
236
-
Prebuilt workspaces can be used in conjunction with [resource quotas](../../users/quotas.md).
236
+
To help prevent unexpected infrastructure costs, prebuilt workspaces can be used in conjunction with [resource quotas](../../users/quotas.md).
237
237
Because unclaimed prebuilt workspaces are owned by the `prebuilds` user, you can:
238
238
239
239
1. Configure quotas for any group that includes this user.
240
240
1. Set appropriate limits to balance prebuilt workspace availability with resource constraints.
241
241
242
+
When prebuilt workspaces are configured for an organization, Coder creates a "prebuilds" group in that organization and adds the prebuilds user to it. This group has a default quota allowance of 0, which you should adjust based on your needs:
243
+
244
+
-**Set a quota allowance** on the "prebuilds" group to control how many prebuilt workspaces can be provisioned
245
+
-**Monitor usage** to ensure the quota is appropriate for your desired number of prebuilt instances
246
+
-**Adjust as needed** based on your template costs and desired prebuilt workspace pool size
247
+
242
248
If a quota is exceeded, the prebuilt workspace will fail provisioning the same way other workspaces do.
0 commit comments