fix: complete plugin rename in sidebar entries, routes, and CLAUDE.md
Updates all sidebar entry names, labels, URLs, and route paths from headlamp-intel-gpu to intel-gpu to match the package.json rename. Also updates the plugin name in CLAUDE.md. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||||||
|
|
||||||
Headlamp plugin for Intel GPU device plugin visibility and monitoring. Read-only — monitors GpuDevicePlugin CRDs, GPU-capable nodes, pods requesting Intel GPU resources, and real-time power metrics via Prometheus. No cluster write operations.
|
Headlamp plugin for Intel GPU device plugin visibility and monitoring. Read-only — monitors GpuDevicePlugin CRDs, GPU-capable nodes, pods requesting Intel GPU resources, and real-time power metrics via Prometheus. No cluster write operations.
|
||||||
|
|
||||||
- **Plugin name**: `headlamp-intel-gpu`
|
- **Plugin name**: `intel-gpu`
|
||||||
- **Target**: Headlamp >= v0.20.0
|
- **Target**: Headlamp >= v0.20.0
|
||||||
- **Data sources**: GpuDevicePlugin CRDs (`deviceplugin.intel.com/v1`), Nodes, Pods (all namespaces), Prometheus (node-exporter i915 hwmon)
|
- **Data sources**: GpuDevicePlugin CRDs (`deviceplugin.intel.com/v1`), Nodes, Pods (all namespaces), Prometheus (node-exporter i915 hwmon)
|
||||||
- **Reference plugin**: `../headlamp-kube-vip-plugin`
|
- **Reference plugin**: `../headlamp-kube-vip-plugin`
|
||||||
|
|||||||
+34
-34
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* headlamp-intel-gpu-plugin — entry point.
|
* intel-gpu-plugin — entry point.
|
||||||
*
|
*
|
||||||
* Registers sidebar entries, routes, detail view sections, and table column
|
* Registers sidebar entries, routes, detail view sections, and table column
|
||||||
* processors for Intel GPU device plugin visibility in Headlamp.
|
* processors for Intel GPU device plugin visibility in Headlamp.
|
||||||
@@ -34,49 +34,49 @@ import PodsPage from './components/PodsPage';
|
|||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: null,
|
parent: null,
|
||||||
name: 'headlamp-intel-gpu',
|
name: 'intel-gpu',
|
||||||
label: 'headlamp-intel-gpu',
|
label: 'intel-gpu',
|
||||||
url: '/headlamp-intel-gpu',
|
url: '/intel-gpu',
|
||||||
icon: 'mdi:gpu',
|
icon: 'mdi:gpu',
|
||||||
});
|
});
|
||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: 'headlamp-intel-gpu',
|
parent: 'intel-gpu',
|
||||||
name: 'headlamp-intel-gpu-overview',
|
name: 'intel-gpu-overview',
|
||||||
label: 'Overview',
|
label: 'Overview',
|
||||||
url: '/headlamp-intel-gpu',
|
url: '/intel-gpu',
|
||||||
icon: 'mdi:view-dashboard',
|
icon: 'mdi:view-dashboard',
|
||||||
});
|
});
|
||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: 'headlamp-intel-gpu',
|
parent: 'intel-gpu',
|
||||||
name: 'headlamp-intel-gpu-device-plugins',
|
name: 'intel-gpu-device-plugins',
|
||||||
label: 'Device Plugins',
|
label: 'Device Plugins',
|
||||||
url: '/headlamp-intel-gpu/device-plugins',
|
url: '/intel-gpu/device-plugins',
|
||||||
icon: 'mdi:chip',
|
icon: 'mdi:chip',
|
||||||
});
|
});
|
||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: 'headlamp-intel-gpu',
|
parent: 'intel-gpu',
|
||||||
name: 'headlamp-intel-gpu-nodes',
|
name: 'intel-gpu-nodes',
|
||||||
label: 'GPU Nodes',
|
label: 'GPU Nodes',
|
||||||
url: '/headlamp-intel-gpu/nodes',
|
url: '/intel-gpu/nodes',
|
||||||
icon: 'mdi:server',
|
icon: 'mdi:server',
|
||||||
});
|
});
|
||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: 'headlamp-intel-gpu',
|
parent: 'intel-gpu',
|
||||||
name: 'headlamp-intel-gpu-pods',
|
name: 'intel-gpu-pods',
|
||||||
label: 'GPU Pods',
|
label: 'GPU Pods',
|
||||||
url: '/headlamp-intel-gpu/pods',
|
url: '/intel-gpu/pods',
|
||||||
icon: 'mdi:cube-outline',
|
icon: 'mdi:cube-outline',
|
||||||
});
|
});
|
||||||
|
|
||||||
registerSidebarEntry({
|
registerSidebarEntry({
|
||||||
parent: 'headlamp-intel-gpu',
|
parent: 'intel-gpu',
|
||||||
name: 'headlamp-intel-gpu-metrics',
|
name: 'intel-gpu-metrics',
|
||||||
label: 'Metrics',
|
label: 'Metrics',
|
||||||
url: '/headlamp-intel-gpu/metrics',
|
url: '/intel-gpu/metrics',
|
||||||
icon: 'mdi:chart-line',
|
icon: 'mdi:chart-line',
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -85,9 +85,9 @@ registerSidebarEntry({
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
registerRoute({
|
registerRoute({
|
||||||
path: '/headlamp-intel-gpu',
|
path: '/intel-gpu',
|
||||||
sidebar: 'headlamp-intel-gpu-overview',
|
sidebar: 'intel-gpu-overview',
|
||||||
name: 'headlamp-intel-gpu-overview',
|
name: 'intel-gpu-overview',
|
||||||
exact: true,
|
exact: true,
|
||||||
component: () => (
|
component: () => (
|
||||||
<IntelGpuDataProvider>
|
<IntelGpuDataProvider>
|
||||||
@@ -97,9 +97,9 @@ registerRoute({
|
|||||||
});
|
});
|
||||||
|
|
||||||
registerRoute({
|
registerRoute({
|
||||||
path: '/headlamp-intel-gpu/device-plugins',
|
path: '/intel-gpu/device-plugins',
|
||||||
sidebar: 'headlamp-intel-gpu-device-plugins',
|
sidebar: 'intel-gpu-device-plugins',
|
||||||
name: 'headlamp-intel-gpu-device-plugins',
|
name: 'intel-gpu-device-plugins',
|
||||||
exact: true,
|
exact: true,
|
||||||
component: () => (
|
component: () => (
|
||||||
<IntelGpuDataProvider>
|
<IntelGpuDataProvider>
|
||||||
@@ -109,9 +109,9 @@ registerRoute({
|
|||||||
});
|
});
|
||||||
|
|
||||||
registerRoute({
|
registerRoute({
|
||||||
path: '/headlamp-intel-gpu/nodes',
|
path: '/intel-gpu/nodes',
|
||||||
sidebar: 'headlamp-intel-gpu-nodes',
|
sidebar: 'intel-gpu-nodes',
|
||||||
name: 'headlamp-intel-gpu-nodes',
|
name: 'intel-gpu-nodes',
|
||||||
exact: true,
|
exact: true,
|
||||||
component: () => (
|
component: () => (
|
||||||
<IntelGpuDataProvider>
|
<IntelGpuDataProvider>
|
||||||
@@ -121,9 +121,9 @@ registerRoute({
|
|||||||
});
|
});
|
||||||
|
|
||||||
registerRoute({
|
registerRoute({
|
||||||
path: '/headlamp-intel-gpu/pods',
|
path: '/intel-gpu/pods',
|
||||||
sidebar: 'headlamp-intel-gpu-pods',
|
sidebar: 'intel-gpu-pods',
|
||||||
name: 'headlamp-intel-gpu-pods',
|
name: 'intel-gpu-pods',
|
||||||
exact: true,
|
exact: true,
|
||||||
component: () => (
|
component: () => (
|
||||||
<IntelGpuDataProvider>
|
<IntelGpuDataProvider>
|
||||||
@@ -133,9 +133,9 @@ registerRoute({
|
|||||||
});
|
});
|
||||||
|
|
||||||
registerRoute({
|
registerRoute({
|
||||||
path: '/headlamp-intel-gpu/metrics',
|
path: '/intel-gpu/metrics',
|
||||||
sidebar: 'headlamp-intel-gpu-metrics',
|
sidebar: 'intel-gpu-metrics',
|
||||||
name: 'headlamp-intel-gpu-metrics',
|
name: 'intel-gpu-metrics',
|
||||||
exact: true,
|
exact: true,
|
||||||
component: () => (
|
component: () => (
|
||||||
<IntelGpuDataProvider>
|
<IntelGpuDataProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user