Custom resources
(CR) is an excellent feature introduced in Kubernetes 1.7
Before understanding Custom resources, let's first understand
resources
in Kubernetes.
A
resource
is an endpoint in Kubernetes API that allows you to store an API object of any kind.
There are many default resources available in Kubernetes, some of them are:
1. deployment
2. pods
3. replicaSet
4. service
Custom resource(CR) are the resources that are
by
default
not
present
in the Kubernetes cluster.
Kubernetes Custom Resource helps us to
create and use
the resources like
any other native Kubernetes resource.
Users need to have
admin
access
to a Kubernetes cluster to create a custom resource(CR)
To create a CR, the user needs to write the custom resource definition in a
yaml file.
Click to learn more