From b83cf90ee8291f11affbbafa40530f3f9101e4d8 Mon Sep 17 00:00:00 2001 From: Nickeau Date: Thu, 27 Jun 2024 17:15:18 +0200 Subject: [PATCH] Added `kubectl proxy` access method I searched a little bit for it. So I make the proxy services URL available for anybody to see. Signed-off-by: Nickeau --- docs/user/accessing-dashboard/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/user/accessing-dashboard/README.md b/docs/user/accessing-dashboard/README.md index c26eef50279b..95091f671b82 100644 --- a/docs/user/accessing-dashboard/README.md +++ b/docs/user/accessing-dashboard/README.md @@ -19,5 +19,15 @@ kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy Now access Dashboard at: [https://localhost:8443](https://localhost:8443). +## `kubectl proxy` + +Use `kubectl proxy` and access Dashboard with a simple URL. + +```shell +kubectl proxy --port=8001 +``` + +Now access Dashboard at: [http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard-kong-proxy:443/proxy/](http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard-kong-proxy:443/proxy/) + ---- _Copyright 2019 [The Kubernetes Dashboard Authors](https://github.com/kubernetes/dashboard/graphs/contributors)_