Launching the Headlamp Kubernetes Dashboard with Helm
Scenario
You are required to deploy the Headlamp Kubernetes UI using Helm. The UI must be exposed using a NodePort Service and secured using a ServiceAccount token.
Perform the task on the dev-machine.
Requirements
- Create a namespace named
headlamp. - Add the official Headlamp Helm repository with the name
headlampusinghttps://kubernetes-sigs.github.io/headlamp/. - Update the Helm repository cache.
- Install Headlamp using Helm with the following specifications:
- Release name:
headlamp - Namespace:
headlamp - Helm repository name:
headlamp - Chart name:
headlamp - Service type:
NodePort - NodePort:
30080
- Create a ServiceAccount token for the
headlampServiceAccount in theheadlampnamespace. - Save the generated token to
/root/headlamp-token. - Verify that Headlamp is running, accessible on NodePort
30080.
curl cplane-01:30080
Test Cases
Level up your Server Side game — Join 20,000 engineers who receive insightful learning materials straight to their inbox