Bird
0
0

After running kubectl proxy, what URL should you open in your browser to access the Kubernetes dashboard?

medium📝 Command Output Q13 of 15
Kubernetes - Monitoring and Logging
After running kubectl proxy, what URL should you open in your browser to access the Kubernetes dashboard?
Ahttp://localhost:8080/dashboard
Bhttp://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
Chttps://dashboard.kubernetes.local
Dhttp://127.0.0.1:6443/dashboard
Step-by-Step Solution
Solution:
  1. Step 1: Understand kubectl proxy behavior

    Running kubectl proxy creates a local proxy on port 8001 that forwards requests to the Kubernetes API server.
  2. Step 2: Identify the dashboard proxy URL

    The dashboard is accessed via the API server proxy path: /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ on localhost port 8001.
  3. Final Answer:

    http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ -> Option B
  4. Quick Check:

    Dashboard URL after proxy = localhost:8001/api/v1/... [OK]
Quick Trick: Dashboard URL uses kubectl proxy on localhost:8001 [OK]
Common Mistakes:
  • Using wrong port like 8080 or 6443
  • Trying HTTPS without proxy
  • Using a made-up domain name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes