liveBook · Manning

Custom resource

Also called custom object

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.

How 2 Manning books explain it

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.

Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains custom resource →

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

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.