Cloud Services

Container Cluster Management

Custom resources
Published On Jun 25, 2024 - 8:05 AM

Custom resources

Set custom resource definitions to manage objects such as namespaces, pods, and services.
Custom Resources Definitions (CRD) are Kubernetes API extensions. Unlike regular resources, they are not always available in a default Kubernetes installation. Instead, they are dynamically registered to a cluster. After registering the custom resource, users can manage objects such as namespaces, pods, and services.
Introducing CRD and extending Kubernetes APIs will allow you to direct Kubernetes to manage more than containers.
To view the different Custom resources data, follow these steps to access the data you need:
  1. Authenticate into the CCM application by providing credentials to ensure secure access to the management dashboard.
  2. Upon successful authentication, proceed to the CCM main dashboard. This serves as the central hub for all cluster management activities.
  3. In the dashboard, locate the
    Cluster table
    , positioned towards the bottom of the interface. This table lists all the clusters available under your management.
  4. Identify and choose the desired cluster by selecting it within the
    Cluster table
    . This action will direct you to a detailed view of the selected cluster.
  5. Within the cluster details view, navigate to the
    Custom resources
    tab. Here, you will find options to view and manage Persistent Volumes, Persistent Volume Claims, and Storage Classes associated with the selected cluster.


Once you select View details on a cluster from the Clusters table, the Cluster Management details table will emerge; scroll down to Custom Resources and select Definitions.
The Custom resource definitions table presents data about the custom resources that are enabled as follows:
  • Name:
    Name of the Custom Resource Definition.
  • Group:
    Name of the Kubernetes or API group.
  • Scope:
    Category within the cluster, namespaced, cluster, pod, etc.
  • Age:
    Time since the CRD was enabled.
To access details for a specific CRD, select the overflow menu located to the far right of the table and select
View details;
a new dialog appears with technical service details.
The following elements are displayed in this dialog:
  • The custom resource definition is panel title, label, annotations, version, and accepted names.
  • Resource/Objects: This section displays the
    Resource / Objects
    table with static columns and custom column names.
  • Static columns: If CRD has
    Namespaced Scope
    then columns would be Name, Namespace, and Age; otherwise, the columns would be Name and Age.
  • Custom columns: It is based on CRD response under this attribute
    versions.additionalPrinterColumns ([]CustomResourceColumnDefinition)
  • Conditions: This section displays the
    table with the following columns: Type, Status, Last Transition time, Reason, and Message.
  • Raw JSON : The data here is JSON data about the selected definitions from the REST API exposed by kubernetes.
Do you have two minutes for a quick survey?
Take Survey