Skip to main content

Getting Started with Plugin Development

This section covers the fundamentals of Headlamp plugin development. By the end, you'll have built a complete hello-headlamp plugin with:

  • ✅ App bar actions
  • ✅ Sidebar navigation & custom pages
  • ✅ Kubernetes data integration
  • ✅ List and detail views
  • ✅ Extending resource detail views
  • ✅ Plugin settings
  • ✅ Custom themes
  • ✅ Map visualization
  • ✅ Publish plugins to Artifact Hub

Tutorials

#TutorialTimeWhat You'll Build
1Running Headlamp from Source20 minSet up your development environment
2Creating Your First Plugin15 min"Hello" in app bar
3Adding Pages and Sidebar Navigation25 minCustom pages & sidebar navigation
4Working with Kubernetes Data25 minFetch cluster and resource data
5Advanced Kubernetes Interactions30 minCustom resource classes, modify resources
6Building List & Detail Pages30 minResourceListView & DetailsGrid components
7Extending Existing Resource Views25 minExtend built-in resource list and detail views
8Adding Plugin Settings20 minConfigStore, registerPluginSettings, settings UI
9Applying Custom Themes20 minregisterAppTheme, AppTheme options, light & dark variants
10Adding Custom Map Nodes20 minregisterMapSource, node icons, custom detail views
11Releasing & Publishing30 minLint, format, build, package, Artifact Hub

Prerequisites

  • Node.js ≥20.11.1
  • npm ≥10.0.0
  • Git
  • A code editor (VS Code recommended)