Bird
0
0

What output would you expect from the command kubectl get crd after installing an Operator?

medium📝 Predict Output Q5 of 15
Kubernetes - Operators and Custom Resources
What output would you expect from the command kubectl get crd after installing an Operator?
AA list of Custom Resource Definitions managed by the Operator
BA list of running Pods in the cluster
CA list of all Deployments in the default namespace
DAn error stating the command is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Understand kubectl get crd

    This command lists all Custom Resource Definitions in the cluster.
  2. Step 2: Relate to Operator installation

    Operators install CRDs to extend Kubernetes; these appear in the list.
  3. Final Answer:

    A list of Custom Resource Definitions managed by the Operator -> Option A
  4. Quick Check:

    kubectl get crd shows CRDs = A list of Custom Resource Definitions managed by the Operator [OK]
Quick Trick: kubectl get crd lists all Custom Resource Definitions [OK]
Common Mistakes:
  • Expecting Pods or Deployments from get crd
  • Thinking the command is invalid
  • Confusing CRDs with other resources

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes