mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: add quotas (#4366)
This commit is contained in:
@@ -5,10 +5,10 @@ Contact sales@coder.com to obtain a license.
|
||||
|
||||
Our Enterprise-only features include:
|
||||
|
||||
- Audit Logging
|
||||
- [Audit Logging](./audit-logs.md)
|
||||
- Browser Only Connections
|
||||
- Template RBAC
|
||||
- Quotas
|
||||
- [Quotas](./quotas.md)
|
||||
- High Availability
|
||||
|
||||
## Adding your license key
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Quotas
|
||||
|
||||
<blockquote class="info">
|
||||
Workspace Quotas are only available in the Enterprise Edition.
|
||||
</blockquote>
|
||||
|
||||
Coder Enterprise admins may define deployment-level quotas to protect against
|
||||
Denial-of-Service, control costs, and ensure equitable access to cloud resources.
|
||||
|
||||
The quota is enabled by either the `CODER_USER_WORKSPACE_QUOTA`
|
||||
environment variable or the `--user-workspace-quota` flag. For example,
|
||||
you may limit each user in a deployment to 5 workspaces like so:
|
||||
|
||||
```bash
|
||||
coder server --user-workspace-quota=5
|
||||
```
|
||||
|
||||
Then, when users create workspaces they would see:
|
||||
|
||||
<img src="../images/admin/quotas.png"/>
|
||||
|
||||
## Up next
|
||||
|
||||
- [Enterprise](./enterprise.md)
|
||||
- [Configuring](./configure.md)
|
||||
Reference in New Issue
Block a user