Compute is in preview, and the
v1alpha API can change.Request access
Compute is enabled for each project separately, and Datum approves each request manually. Until a project has access, everydatumctl compute command except access and help stops and asks you to request access. This includes build.
To request access for the active project, follow these steps:
-
To check the current state, run the following command:
The
Statusline shows a state such asNot requested,Pending approval,Active,Denied, orRevoked. -
To submit a request and wait for a decision, run the following command:
Replace
MESSAGEwith a short description of what you plan to run. The message helps Datum review your request. -
Wait until the
Statusline showsActive. You can then deploy workloads.
datumctl compute access request --renew. For all access options, see Compute commands.
Quotas
Your project’s compute quota limits how many workloads and Instances you can run, how much vCPU and memory they use, and how many shell sessions can be open at once. Datum sets the quota. You can’t change it yourself. Each Instance uses the following quota:- 1 Instance
- 1 vCPU
- 2 GiB (2,048 MiB) of memory
general-purpose Instance and a unikernel Instance use the same amount.
Check your quota
To see your project’s limits and usage, run the following command:--constrained.
If your quota is used up
If your project doesn’t have enough quota for a new Instance, Datum doesn’t start it. The Instance showsPending (quota exceeded) in datumctl compute instances and reports QuotaExceeded, and the workload reports QuotaNotGranted. To let the Instance start, do one of the following:
- Lower the number of Instances with
datumctl compute scale WORKLOAD_NAME --min=COUNT. - Delete workloads that you no longer need.
- Ask for more quota by contacting support@datum.net.
QuotaNoBudget, or another reason that starts with Quota, your project’s quota isn’t set up correctly. The workload exists, but its Instances don’t start. Contact support, and Datum fixes the problem.
Limits
The following table lists fixed limits:What’s next
- To deploy your first workload, see Deploy an app.
- To review what Compute doesn’t support yet, see Limitations and roadmap.
- To fix quota errors and other problems, see Troubleshooting.