Bird
0
0

Which YAML kind is used to define a Custom Resource type in Kubernetes?

easy📝 Syntax Q12 of 15
Kubernetes - Operators and Custom Resources
Which YAML kind is used to define a Custom Resource type in Kubernetes?
ACustomResourceDefinition
BPod
CDeployment
DService
Step-by-Step Solution
Solution:
  1. Step 1: Identify the YAML kind for custom types

    Custom Resource types are defined by a special Kubernetes object called CustomResourceDefinition.
  2. Step 2: Differentiate from common kinds

    Pod, Deployment, and Service are built-in kinds, not for defining new types.
  3. Final Answer:

    CustomResourceDefinition -> Option A
  4. Quick Check:

    CustomResourceDefinition defines new types [OK]
Quick Trick: CustomResourceDefinition is the special kind for custom types [OK]
Common Mistakes:
  • Choosing Pod or Deployment as custom type definition
  • Confusing Service with CustomResourceDefinition
  • Using incorrect kind names in YAML

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes