Headlamp

Lightweight Kubernetes dashboard with cluster-admin access.

Overview

PropertyValue
CDK8s fileplatform/cdk8s/cots/management/headlamp.go
Namespaceheadlamp
HTTPRouteheadlamp.madhan.appheadlamp:80
UIYes

Purpose

Headlamp is a lightweight, extensible Kubernetes dashboard. It provides a clean UI for browsing workloads, events, nodes, and resources.

Service Account

CDK8s creates a headlamp-admin ServiceAccount with cluster-admin ClusterRoleBinding. The associated token is stored in a Secret (headlamp-admin-token) in the headlamp namespace.

Authentication

Use the token from headlamp-admin-token to authenticate in the Headlamp UI:

kubectl get secret headlamp-admin-token -n headlamp -o jsonpath='{.data.token}' | base64 -d

Paste the token into the Headlamp login screen at http://headlamp.madhan.app.