Challenge, Easy,  on  Kubernetes

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

  1. Create a namespace named headlamp.
  2. Add the official Headlamp Helm repository with the name headlamp using https://kubernetes-sigs.github.io/headlamp/.
  3. Update the Helm repository cache.
  4. 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
  1. Create a ServiceAccount token for the headlamp ServiceAccount in the headlamp namespace.
  2. Save the generated token to /root/headlamp-token.
  3. 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