Cloud Native 5 min read

Master Kubernetes Dashboard: Install, Use, and Monitor Your Cluster

This guide explains what the Kubernetes Dashboard is, outlines its key features, and provides step‑by‑step instructions using Helm to install, access, and secure the dashboard for visual cluster management and monitoring.

Efficient Ops
Efficient Ops
Efficient Ops
Master Kubernetes Dashboard: Install, Use, and Monitor Your Cluster

In today’s fast‑moving tech landscape, containerized environments offer consistency, resource efficiency, and rapid startup, transforming how applications are built and deployed while delivering higher efficiency, flexibility, and scalability for enterprises.

K8s Dashboard Overview

The Dashboard is a web‑based UI for Kubernetes that lets you deploy containers, manage cluster resources, view application overviews, and create or modify Kubernetes objects directly from a browser.

Key Features

Cluster Overview: Clear view of cluster status, node details, and resource usage.

Resource Management: Easily create, edit, or delete Deployments, Pods, Services, and other resources.

Log Viewing: Quickly access Pod logs for rapid troubleshooting.

Event Monitoring: Real‑time monitoring of cluster events to detect and address issues promptly.

RBAC Support: Role‑based access control to secure the cluster.

Installation Guide

Install Helm

<code>curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash</code>

Add the Kubernetes Dashboard Helm repository

<code>helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/</code>
<code>helm repo update</code>

Install the Dashboard

<code>helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard \
  --namespace kubernetes-dashboard \
  --create-namespace</code>

Access the Dashboard

After installation, retrieve the service address:

<code>kubectl -n kubernetes-dashboard get svc kubernetes-dashboard</code>

Depending on the Service type (NodePort or LoadBalancer), open the displayed URL in a browser.

Obtain an Access Token

<code>kubectl create serviceaccount dashboard-admin -n kubernetes-dashboard</code>
<code>kubectl create clusterrolebinding dashboard-admin --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:dashboard-admin</code>
<code>kubectl -n kubernetes-dashboard create token dashboard-admin</code>

Post‑Installation

Once the Dashboard is up, you can deploy containerized applications, monitor workloads, services, and storage, all through the visual interface.

Conclusion

Although the Dashboard is a cluster‑operation tool, it simplifies the complexity of command‑line interactions, making cluster management more intuitive through a graphical UI. Alternatives such as Kuboard, Rancher, and Lens also provide similar capabilities.

cloud nativeKubernetesDashboardContainer ManagementHelm
Efficient Ops
Written by

Efficient Ops

This public account is maintained by Xiaotianguo and friends, regularly publishing widely-read original technical articles. We focus on operations transformation and accompany you throughout your operations career, growing together happily.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.