Compute is in preview, and the
v1alpha API can change.Enable Compute
Compute is enabled for each project separately, and you don’t need to request access. The first time you run adatumctl compute command in a project, the command enables Compute for that project and then continues. Every command except access and help does this, including build. It doesn’t ask for confirmation, so it works the same way in CI and scripts. Enabling Compute also gives the project its default compute quota.
To check whether Compute is enabled for the active project, run the following command:
Access line shows one of the following states:
To enable Compute without running another command, run
datumctl compute access request. 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.