Overview
Kubernetes Dashboard supports only Helm-based installation as of version 7.0.0. Helm provides better control over dependencies and makes it easier to manage the multi-container setup required by Dashboard.Prerequisites
Before installing Kubernetes Dashboard, ensure you have:Kubernetes Cluster
A running Kubernetes cluster with version 1.21.0 or higher.Verify your cluster version:
Helm 3
Helm 3 installed on your local machine.Check your Helm version:
Helm 2 is no longer supported. If you’re using Helm 2, follow the migration guide.
Quick Installation
The fastest way to install Kubernetes Dashboard:This command will:
- Create the
kubernetes-dashboardnamespace if it doesn’t exist - Install or upgrade the Dashboard release
- Use default configuration values
Step-by-Step Installation
Add the Helm Repository
Add the official Kubernetes Dashboard Helm repository:Update your local Helm chart repository cache:
(Optional) Review Available Versions
Check available chart versions:The latest stable version is 7.14.0.
(Optional) Customize Installation
Download the default values file to customize your installation:Edit
values.yaml to customize settings like:- Resource limits and requests
- Ingress configuration
- Security settings
- Optional dependencies (cert-manager, ingress-nginx, metrics-server)
Architecture Components
The Helm chart deploys the following components:Core Dashboard Components
Core Dashboard Components
- Web UI (
kubernetesui/dashboard-web:1.7.0): Frontend interface - API Server (
kubernetesui/dashboard-api:1.14.0): Backend API - Auth Service (
kubernetesui/dashboard-auth:1.4.0): Authentication handler - Kong Gateway (v2.52.0): API gateway in DBless mode
Optional Components
Optional Components
- Metrics Scraper (
kubernetesui/dashboard-metrics-scraper:1.2.2): Enabled by default - Metrics Server (v3.13.0): Disabled by default, enable if not already in cluster
- Cert Manager (v1.19.1): Disabled by default, required for TLS certificates
- Ingress NGINX (v4.13.3): Disabled by default, for ingress support
Configuration Options
Enable Optional Dependencies
If you don’t have these components already installed in your cluster:Configure Ingress
Enable and configure Ingress for external access:Resource Limits
Adjust resource limits for production deployments:Verification
Verify the installation was successful:Check Services
Verify services are created:Look for the
kubernetes-dashboard-kong-proxy service, which is the main entry point.Common Installation Issues
Pods stuck in Pending state
Pods stuck in Pending state
Cause: Insufficient cluster resources or persistent volume claims not bound.Solution:
- Check pod events:
kubectl describe pod <pod-name> -n kubernetes-dashboard - Ensure your cluster has enough CPU and memory
- For PVC issues, verify storage classes are available
CrashLoopBackOff errors
CrashLoopBackOff errors
Cause: Configuration issues or incompatible Kubernetes version.Solution:
- Check pod logs:
kubectl logs <pod-name> -n kubernetes-dashboard - Verify Kubernetes version is >= 1.21.0
- Review custom values for configuration errors
ImagePullBackOff errors
ImagePullBackOff errors
Cause: Cannot pull container images from Docker Hub.Solution:
- Check network connectivity to Docker Hub
- Verify image pull secrets if using a private registry
- Check for rate limiting issues with Docker Hub
Dependency conflicts
Dependency conflicts
Cause: cert-manager, nginx, or metrics-server already installed with different versions.Solution:
Disable the conflicting dependencies:
Uninstalling Dashboard
To completely remove Kubernetes Dashboard:Upgrading
To upgrade to a newer version:Major version upgrades (e.g., 6.x to 7.x) may require manual intervention. Always check the Helm chart README for upgrade notes.
Next Steps
Access Dashboard
Learn different methods to access your Dashboard installation
Configure Access Control
Set up authentication and authorization for your users