< 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

  • Application Management for Cluster Federation should have been installed and enabled.

  • You should join a multi-cluster project and have the Federated Project Management permission within the project.

Steps

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

  2. Click Project Settings > Basic Information in the left navigation pane.

  3. On the Basic Information page, click Manage, then select Edit Default Container Quotas from the dropdown list.

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

    ParameterDescription

    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