< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Edit Default Container Quotas

This section explains how to edit default container quotas.

Default container quotas are the default values for resource request and resource limit for containers in the project. When creating containers in the project, if users do not specify resource request and limit, the containers will automatically use the default container quotas.

Default container quotas include two types of settings:

  • Resource Request: Resources reserved by the system for containers.

  • Resource Limit: The upper limit of resources that containers can use.

Prerequisites

You should join a cluster and have the Project Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Management permission, and access your cluster.

  2. Click Projects in the left navigation pane.

  3. In the project list, click the name of a project to open its details page.

  4. In the upper-left corner of the project details page, click More > Edit Default Container Quotas.

  5. In the Edit Default Container Quotas dialog, set the default resource request and resource limit for containers, then click OK.

    Parameter Description

    CPU Request

    Reserved CPU resources for a container, measured in cores.

    CPU Limit

    Upper limit of CPU resources that a container is allowed to use, measured in cores.

    Memory Request

    Reserved memory resources for a container, measured in MiB.

    Memory Limit

    Upper limit of memory resources that a container is allowed to use, measured in MiB.

    GPU Type

    The GPU type that containers in the project can use. Currently, only NVIDIA GPU is supported.

    GPU Limit

    Upper limit on the number of GPUs that a container is allowed to use, measured in GPUs.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page