From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Custom resources

Custom resources

- In this video, we are going to explore custom resources because we are going to install custom stuff in Kubernetes, which is one of the core parts of the entire GitHubs operation that we are trying to do. So let's try to understand custom resource definitions. The Kubernetes API is extensible, and CustomResourceDefinitions, also known as CRDs, are provided to make the API extension easy. You'll see it all the time. Using a CustomResourceDefinition, any resource can be added to the API easily. And if you are adding applications to Kubernetes by using operators and controllers, CustomResourceDefinitions are commonly used. Let's check it out. (keyboard keys clicking) So let me start using kubectl api-resources, which is giving an overview of the current API resources in which right here we can see the crd.projectcalico.org. So Calico, that's a network plugin that we are using, that we have used by using dash dash CNI Calico, or Calico by itself is using custom resources. And here you…

Contents