Bird
0
0

You want to create a kind cluster with a custom configuration file named kind-config.yaml. Which command is correct?

hard📝 Workflow Q15 of 15
Kubernetes - Fundamentals
You want to create a kind cluster with a custom configuration file named kind-config.yaml. Which command is correct?
Akind create cluster --config=kind-config.yaml
Bkind start cluster -f kind-config.yaml
Cminikube start --config kind-config.yaml
Dkubectl apply -f kind-config.yaml
Step-by-Step Solution
Solution:
  1. Step 1: Recall kind cluster creation with config

    kind uses the command kind create cluster --config=filename to specify a config file.
  2. Step 2: Check other options for correctness

    kind start cluster is invalid; minikube start does not accept --config this way; kubectl apply applies Kubernetes manifests, not cluster configs.
  3. Final Answer:

    kind create cluster --config=kind-config.yaml -> Option A
  4. Quick Check:

    kind config file = kind create cluster --config= [OK]
Quick Trick: Use 'kind create cluster --config=filename' for custom config [OK]
Common Mistakes:
  • Using 'kind start cluster' instead of 'kind create cluster'
  • Trying to pass config to minikube with --config
  • Applying config file with kubectl instead of kind

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes