#kubernetes #crd
# CRD
CRD in Kubernetes stands for Custom Resource Definition, which allows us to create custom objects in the Kubernetes
It can be used like normal or native Kubernetes object already available.
```yaml
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: appconfigs.stable.example.com
spec:
group: stable.example.com
versions:
- name: v1
served: true
storage: true
scope: Namespaced
names:
plural: your_name
singular: appconfig
kind: AppConfig
shortNames:
- ac
```
```shell
kubectl create -f crd.yaml
```
After this all we can now found the API endpoint for our CRD at the below syntax followed by the name and configuration as per your CRD file see below for better clarity:
/group name / version/namespaced/*/crd_name
Now to use the above CRD we have to manifest it using the below .yml file definition ;
```yaml
apiVersion: "we can give api version"
kind: ann=me of crd
name: this name
spec:
uri: "your uri"
```