Bird
0
0

You applied a Kafka cluster YAML with 3 replicas, but only 1 Kafka pod is running. Which of the following is the most likely cause?

medium📝 Troubleshoot Q14 of 15
Kafka - Kubernetes and Cloud Deployment
You applied a Kafka cluster YAML with 3 replicas, but only 1 Kafka pod is running. Which of the following is the most likely cause?
AKafka storage type is set to ephemeral
BThe YAML file has <code>replicas: 1</code> under Kafka section
CZookeeper replicas are set to 1
DStrimzi operator is not installed or running
Step-by-Step Solution
Solution:
  1. Step 1: Check Kafka replicas in YAML

    If YAML specifies 3 replicas, pod count should be 3, so replicas: 1 is unlikely.
  2. Step 2: Consider Strimzi operator role

    Strimzi operator manages Kafka pods. If it is missing or not running, pods won't be created properly.
  3. Final Answer:

    Strimzi operator is not installed or running -> Option D
  4. Quick Check:

    Operator missing = pods not managed [OK]
Quick Trick: Check Strimzi operator status if pods don't match replicas [OK]
Common Mistakes:
  • Blaming Zookeeper replicas for Kafka pod count
  • Thinking ephemeral storage stops pod creation
  • Assuming YAML replicas value is always correct

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes