Kubernetes cluster resources are API entities that store and manage objects of a specific class in the cluster. When default Kubernetes resource types don't meet your business requirements, extend the cluster API by creating a Custom Resource Definition (CRD) to add custom resources. This enhances flexibility in cluster management.
Limitations
Some resource types support only create operations. Listing their resource objects is not supported.
Create a CRD
-
Log on to the Container Service console. In the left navigation pane, click Clusters.
-
On the Clusters page, click the name of the target cluster. In the left navigation pane, choose Workloads > Custom Resources.
-
On the CRDs tab, click Create from YAML to create a CRD.
View and edit CRD configurations
On the CRDs tab, view or edit the YAML configuration of a CRD.
Manage resource objects
On the Resource Objects tab, browse and manage instances of your custom resource types.
Browse API groups and resource types
The object browser lists all API groups supported by the cluster in the left panel. Click an API group name to expand it and view its resource types. To find a specific type, use the search box at the top to filter by keyword.
View and edit resource objects
Select a resource type from the left panel to view its resource objects. To modify or delete an object, edit or remove it using its YAML configuration.
What's next
To learn how to create other workload types such as Deployments, StatefulSets, Jobs, and CronJobs, see Workloads.