Skip to main content

Command Palette

Search for a command to run...

What is CRD in kubernetes?

Published
1 min read
M

"DevOps Engineer | Cloud-native enthusiast | Managing infrastructure with AWS, Kubernetes, and Terraform while optimizing CI/CD pipelines."

CRD (Custom Resource Definition) is a way to let you create your own types of Kubernetes resources. Kubernetes has built-in resource types like Pods and Services, but if you need something specific to your application—like MyDatabase or MyTask—you can define it as a custom resource using a CRD.

Once the CRD is created, you can treat your custom resource just like any other Kubernetes object. You can create, update, and delete it using kubectl, and even write a controller to automate how it behaves.

It’s like giving Kubernetes a new vocabulary to manage the specific needs of your application.