Bird
0
0

What will happen if you create a LoadBalancer service in a Kubernetes cluster without cloud provider support?

medium📝 Command Output Q5 of 15
Kubernetes - Services
What will happen if you create a LoadBalancer service in a Kubernetes cluster without cloud provider support?
AThe service will remain in <pending> state for external IP
BThe service will fail to create
CThe service will fallback to NodePort automatically
DThe service will get an external IP assigned automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand cloud provider dependency

    LoadBalancer service requires cloud provider integration to assign external IPs.
  2. Step 2: Behavior without cloud provider

    Without cloud support, the external IP remains <pending> indefinitely.
  3. Final Answer:

    Service external IP stays <pending> without cloud provider -> Option A
  4. Quick Check:

    No cloud provider = <pending> external IP [OK]
Quick Trick: No cloud provider means LoadBalancer IP stays [OK]
Common Mistakes:
  • Assuming automatic fallback to NodePort
  • Expecting external IP without cloud support
  • Thinking service creation fails

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes