Add inspektor-gadget and Headlamp with inspektor-gadget plugin#560
Add inspektor-gadget and Headlamp with inspektor-gadget plugin#560rustyrazorblade wants to merge 1 commit intomainfrom
Conversation
- Add InspektorGadgetManifestBuilder: deploys ig daemon as a privileged DaemonSet on all cluster nodes with RBAC for K8s API access and eBPF host mounts (BPF filesystem, kernel debug, containerd socket) - Add HeadlampManifestBuilder: deploys Headlamp K8s web UI on the control plane (port 4466) with an init container that installs the @inspektor-gadget/headlamp-plugin via npx - Add HEADLAMP_PORT = 4466 to Constants.K8s - Register both builders in ServicesModule and wire into GrafanaUpdateConfig - Add K8s integration tests for both builders - Update configuration/CLAUDE.md with new subpackage documentation Co-authored-by: Jon Haddad <rustyrazorblade@users.noreply.github.com>
Code ReviewOverall this is well-structured and follows the existing Fabric8 builder pattern consistently. A few items worth addressing: Import Ordering Violation (ktlint)In import com.rustyrazorblade.easydblab.configuration.beyla.BeylaManifestBuilder
import com.rustyrazorblade.easydblab.configuration.headlamp.HeadlampManifestBuilder // 'h'
import com.rustyrazorblade.easydblab.configuration.inspektorgadget.InspektorGadgetManifestBuilder // 'i'
import com.rustyrazorblade.easydblab.configuration.clusterPrefix // 'c' ← should come before 'h'
Overly Broad
|
Closes #384
Adds inspektor-gadget eBPF tracing daemon and Headlamp Kubernetes web UI with the inspektor-gadget plugin.
Changes
InspektorGadgetManifestBuilder: deploysigdaemon as a privileged DaemonSet on all cluster nodes with RBAC and eBPF host mountsHeadlampManifestBuilder: deploys Headlamp K8s web UI on the control plane (port 4466) with an init container that installs the @inspektor-gadget/headlamp-plugin via npxGenerated with Claude Code