Bird
0
0

During a cluster upgrade, you notice etcd is running but the API server cannot connect to it. What is the best immediate action?

hard📝 Troubleshoot Q9 of 15
Kubernetes - Fundamentals
During a cluster upgrade, you notice etcd is running but the API server cannot connect to it. What is the best immediate action?
ARestart the kube-scheduler
BScale down all pods to reduce load
CDelete the etcd data directory and restart etcd
DCheck and update the API server's etcd connection parameters
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of API server-etcd connection failure

    If etcd runs but API server cannot connect, connection parameters like endpoints or certificates may be incorrect.
  2. Step 2: Choose corrective action

    Updating API server's etcd connection settings is the correct fix; restarting scheduler or deleting data is unrelated or risky.
  3. Final Answer:

    Check and update the API server's etcd connection parameters -> Option D
  4. Quick Check:

    API server-etcd connection issue = fix API server config [OK]
Quick Trick: Verify API server's etcd connection settings first [OK]
Common Mistakes:
  • Restarting scheduler instead of fixing connection
  • Deleting etcd data unnecessarily
  • Scaling pods unrelated to control plane issue

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes