Using the Headlamp Addon

Headlamp Addon

Headlamp is an easy-to-use and extensible Kubernetes web UI.

Enable Headlamp on minikube

To enable this addon, simply run:

  1. minikube addons enable headlamp

Once the addon is enabled, you can access the Headlamp’s web UI using the following command.

  1. minikube service headlamp -n headlamp

To authenticate in Headlamp, fetch the Authentication Token using the following command:

  1. export SECRET=$(kubectl get secrets --namespace headlamp -o custom-columns=":metadata.name" | grep "headlamp-token")
  2. kubectl get secret $SECRET --namespace headlamp --template=\{\{.data.token\}\} | base64 --decode

Headlamp can display more detailed information when metrics-server is installed. To install it, run:

  1. minikube addons enable metrics-server

Testing installation

  1. kubectl get pods -n headlamp

If everything went well, there should be no errors about Headlamp’s installation in your minikube cluster.

Disable headlamp

To disable this addon, simply run:

  1. minikube addons disable headlamp

Last modified July 7, 2023: Add addon readmes to website (cf976f6dd)