Configuring Quotas

This topic describes how to configure CPU, GPU, and memory quotas for users of a Cloudera AI Workbench.

When calculating available user quotas within a workbench namespace, you must account for the persistent infrastructure pods running in that namespace:

  • Each workbench namespace runs waypoint infrastructure pods to manage service mesh routing, traffic policy enforcement, and inter-service connectivity.

  • Quota calculations for user workloads must reserve sufficient CPU and memory for these waypoint pods.

  • If user quotas are sized to consume the entire namespace capacity without reserving overhead for the waypoint pods, scheduling conflicts can occur, causing new user workloads to remain in a Pending state or impairing namespace infrastructure services.

Required Role: Administrator

Make sure you are assigned the Administrator role in Cloudera. Only users with the Administrator role will be logged into Cloudera AI Workbenches with Site Administrator privileges.

There are two types of quota: Default and Custom. Default quotas apply to all users of the workbench. Custom quotas apply to individual users in the workbench, and take precedence over the default quota.

  1. Select Apps in the left navigation pane on the Anywhere Cloud Console.
  2. Search for the required Cloudera AI Workbench instance.

    Ensure that the status of the instance is Deployed.

  3. Click on the name of the required instance.

    A pane opens displaying the available information for the selected instance.

  4. Click the URL of the selected Cloudera AI Workbench instance.

    The Cloudera AI Workbench home page is displayed.

  5. Click Site Administration > Quotas.
  6. Switch the Default Quotas toggle to ON.
    This applies a default quota of 2 vCPU and 8 GB memory to each user in the workbench.
    If your workbench was provisioned with GPUs, a default quota of 0 GPU per user applies. If you want users to have access to GPUs, you must modify the default quotas as described in the next step.
  7. If you want to change the default quotas, click on Default (per user) .
    Cloudera AI displays the Edit default quota dialog box.
  8. Enter the CPU, Memory, and GPU quota values that should apply to all users of the workbench.
  9. Click Update.
  10. To add a custom quota for a specific user, click Add User.
  11. Enter the user name, and enter the quotas for CPU, Memory, and GPU.
  12. Click Add.
Enabling and modifying quotas will only affect new workloads. If users have already scheduled workloads that exceed the new quota limits, those will continue to run uninterrupted. If a user is over their limit, they will not be able to schedule any more workloads.