How to run the Kubernetes dashboard on a worker node?

12/5/2019

I have used the following command to deploy the K8S dashboard:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta6/aio/deploy/recommended.yaml

kubectl proxy

It says the dashboard runs on the below-mentioned URL on the master node:

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

How can I deploy the dashboard on a worker node?

-- Gourav Gajara
kubernetes
kubernetes-cluster
kubernetes-pod

1 Answer

12/5/2019

Can you comment or remove the below portion from the YAML

      # Comment the following tolerations if Dashboard must not be deployed on master
      tolerations:
        - key: node-role.kubernetes.io/master
          effect: NoSchedule
-- P Ekambaram
Source: StackOverflow