Custom resource
A Kubernetes custom resource is an API object of a user-defined resource type that extends the Kubernetes API, typically defined by a custom resource definition.
Acing the Certified Kubernetes Administrator Exam, Second Edition
A custom resource is a Kubernetes API resource instance representing domain-specific state defined by a custom resource definition.
- How it is used
- Operates domain-specific state through Kubernetes APIs and lets an operator reconcile application behavior from declarative objects.
- How deep it goes
- Explains the CR-versus-CRD distinction, manifest fields, operator interaction, and kubectl verification, without descending into controller implementation.
- Examples
- Uses a CloudNativePG Cluster object with one instance and 1Gi storage, then checks cluster status, description, and pod readiness.
- What you can do after
- Operate/configure a custom resource with YAML and kubectl, then verify reconciliation through resource status, descriptions, and pods.
Distributed Machine Learning Patterns
A Kubernetes custom resource is an API object of a user-defined resource type that extends the Kubernetes API.
- How it is used
- Deploys Kubernetes-native abstractions for distributed or nondistributed machine-learning jobs.
- How deep it goes
- Explains registration, kubectl access, and controller processing, but stops short of controller implementation details.
- Examples
- Uses a TFJob definition with two workers, TensorFlow containers, restart behavior, kubectl submission, and resulting worker Pods.
- What you can do after
- Operate/configure custom objects with kubectl and delegate workload reconciliation to a Kubernetes controller.
Read how Distributed Machine Learning Patterns explains custom resource →
Also covered in
Related concepts
- Kubernetes operatorused by · A Kubernetes operator is a controller pattern that extends Kubernetes to automate application or service management by reconciling desired and actual state through the Kubernetes API.
- HTTPRouteincludes · An HTTPRoute is a Kubernetes Gateway API resource defining how HTTP requests are matched and forwarded to backend services through parent gateways.
- Kubeflow training operatorused by · The Kubeflow Training Operator is a Kubernetes operator that manages distributed and nondistributed machine learning training jobs through custom resources.
- Kubernetes APIpart of · The Kubernetes API is the programmatic interface through which clients and components define, query, modify, and manage Kubernetes resources and cluster state.
- custom resource definitionproduced by · A CustomResourceDefinition is a Kubernetes API object that defines a custom resource type and its schema.
Questions about custom resource
What is custom resource?
A Kubernetes custom resource is an API object of a user-defined resource type that extends the Kubernetes API, typically defined by a custom resource definition.
Which Manning books explain custom resource?
Acing the Certified Kubernetes Administrator Exam, Second Edition and Distributed Machine Learning Patterns.
What kinds of custom resource are there?
Kinds of custom resource include BackendConfig and HTTPRoute.
What is custom resource part of?
Custom resource is part of Kubernetes API. The Kubernetes API is the programmatic interface through which clients and components define, query, modify, and manage Kubernetes resources and cluster state.
What is custom resource also called?
Custom resource is also called custom object.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

