Kubernetes Proxy allows you to access core components of Kubernetes. Such as API, Kubernetes Dashboard, etc. In order to use Kubernetes proxy, you will need to ensure proper configurations are in place on your system where you are accessing it from. If you are remotely managing Kubernetes Cluster, I recommend following few of my articles below.

If you are comfortable with above articles. You can continue with below steps.

Kubernetes Proxy Setup without any port specification.

kubectl proxy

The above command will automatically assign a port no. 8001 and you can access the services via If you would like to use different port, you can add a parameter --port=[port]. See below example.

Kubernetes Proxy Setup with port.

kubectl proxy --port=8080

The above command will expose services on port 8080 and you can access it via

Once you know how to use Kubernetes proxy. There are few simple services you can access.

  • Kubernetes Dashboard ->[port]/ui
  • API ->[port]/api/v1

NOTE: You will have to deploy Kubernetes Dashboard on Master node to access UI. Following article in here.