Alternative Access to the Dashboard
- kubectl Proxy: To view the dashboard from your personal machine, start a proxy server. To get to http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/, execute the kubectl proxy instruction to launch your browser.
- Port Forwarding: To forward a port form your personal machine to a port on the Kubernetes Dashboard service, use kubectl port-forward. For example, execute this command to view it: https://localhost:10443 kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443.
- NodePort Service: Employ a NodePort for displaying the dashboard service. Modify the dashboard service YAML file’s service type to NodePort, then access it with the node’s IP address and its designated NodePort.
- Ingress: Configure an Ingress resource to ensure you can use a custom domain to access the dashboard. Create an Ingress resource pointing to the dashboard service and configure an Ingress controller.
- Cloud Provider Specific Methods: Integrated dashboard access is available by several managed Kubernetes services, notably Amazon EKS, Azure AKS, and Google Kubernetes Engine (GKE). Examine the specific documentation supplied by your cloud provider.
Kubernetes – Dashboard Setup
Kubernetes – Dashboard Setup is a web-based user interface that offers a summary of your Kubernetes cluster. You may manage your resources using a graphical interface and view information about your pods, deployments, services, and more with the dashboard. How do you maintain track of all the containers you deploy using Kubernetes when there are hundreds of them? That won’t work with a command-line interface. Everything must be represented visually. Welcome to the Kubernetes dashboard. The official web-based UI for Kubernetes, known as Kubernetes Dashboard, consists of a collection of services that make cluster management easier. You will discover how to set up the Kubernetes Dashboard on an Ubuntu computer step-by-step in this guide.