Recall & Review
beginner
What is a Custom Resource Definition (CRD) in Kubernetes?
A CRD is a way to add your own custom objects to Kubernetes. It lets you define new resource types beyond the built-in ones, so you can manage your own data with Kubernetes tools.
Click to reveal answer
beginner
How do you create a new custom resource type in Kubernetes?
You create a CRD YAML file that defines the new resource's name, version, and schema, then apply it with kubectl. This tells Kubernetes about your new resource type.
Click to reveal answer
beginner
What command applies a CRD YAML file to the Kubernetes cluster?
kubectl apply -f applies the CRD to the cluster, registering the new custom resource type.
Click to reveal answer
intermediate
Why use CRDs instead of ConfigMaps or Secrets for custom data?
CRDs let you create structured, typed resources with validation and versioning. ConfigMaps and Secrets are simpler key-value stores without schema or lifecycle management.Click to reveal answer
intermediate
What is the role of a controller with CRDs?
A controller watches custom resources and acts on changes. It helps automate tasks like creating pods or updating status based on the custom resource's state.
Click to reveal answer
What does a Custom Resource Definition (CRD) allow you to do in Kubernetes?
✗ Incorrect
CRDs let you define new resource types that Kubernetes can manage.
Which command is used to apply a CRD YAML file to a Kubernetes cluster?
✗ Incorrect
kubectl apply -f applies the CRD YAML to the cluster.
What is a key benefit of using CRDs over ConfigMaps for custom data?
✗ Incorrect
CRDs support schema validation, making data structured and reliable.
What component typically watches CRDs to automate actions?
✗ Incorrect
Controllers watch CRDs and automate responses to changes.
Which of these is NOT true about CRDs?
✗ Incorrect
You do not need to write Go code to use CRDs; you define them with YAML.
Explain what a Custom Resource Definition (CRD) is and why it is useful in Kubernetes.
Think about how Kubernetes can manage things beyond built-in resources.
You got /4 concepts.
Describe the steps to create and use a new custom resource in Kubernetes using a CRD.
Focus on YAML definition, applying it, and using the new resource.
You got /4 concepts.