Home / Platform management / Clusters / Custom Resource Definitions

Custom Resource Definitions

Custom Resource Definitions (CRDs) are a type of resource in Kubernetes that define user-defined resource types. Declaring a CRD adds a new custom resource type in resource management. By creating instances of CRDs, you can create custom APIs, quickly register and use new resource objects, and gain more support for extension capabilities.

Clusters > Custom Resource Definitions page lists all CRDs related to platform resources, with the corresponding RESTful API paths as follows:

Parameter Description
Name The category (kind) of the custom resource. The corresponding type can be found on the details page.
Group The group to which the custom resource belongs.
Version The RESTful API version of the custom resource.
Scope The scope of the custom resource, including namespace and cluster.

Creating an Instance

  1. In the left navigation pane, click on Clusters > Custom Resource Definitions.

  2. Click on the name of the resource.

  3. Click on Creating an instance.

  4. Configure the parameters.

    Note: CRDs contain version and schema information of resource objects. The form parameters are defined by the resource’s schema and may vary with the selected version. If the Namespaces field appears, it indicates that the resource to be created will only affect the selected namespace.

  5. Click on Create.