docs/versioned_docs/version-7.13.x/configuration/integrations/headlamp.md
Modern, actively maintained Kubernetes web UI with OAuth2 Proxy integration examples.
Key features:
Headlamp is a modern, user-friendly Kubernetes web UI that can be integrated with OAuth2 Proxy for authentication. This is a recommended alternative to the deprecated Kubernetes Dashboard.
User → Ingress → OAuth2 Proxy → Authentication Provider (e.g., Azure Entra ID)
↓
Headlamp
When integrating Headlamp with OAuth2 Proxy, the OAuth2 Proxy acts as a reverse proxy in front of Headlamp:
Configure OAuth2 Proxy to proxy to the Headlamp service:
upstreamConfig:
upstreams:
- id: headlamp
path: /
uri: http://headlamp-service.headlamp-namespace.svc.cluster.local:4466
Enable the necessary headers:
extraArgs:
reverse-proxy: true
pass-authorization-header: true
set-xauthrequest: true
email-domain: "*" # Or restrict to your organization
For detailed instructions on deploying Headlamp with OAuth2 Proxy on Azure Kubernetes Service using Azure Entra ID, see the official Headlamp documentation:
https://headlamp.dev/docs/latest/installation/in-cluster/aks-cluster-oauth/
Key steps include:
The same integration pattern works with other OAuth2 providers supported by OAuth2 Proxy:
For provider-specific configuration examples, see the OAuth Provider Configuration documentation.
Headlamp offers several advantages:
:::note
If you set up your OAuth2 provider to rotate your client secret, you can use the client-secret-file option to reload the secret when it is updated.
:::