Skip to content

Inspektor Gadget

By enabling this toolset, HolmesGPT will be able to use Inspektor Gadget eBPF-based observability tools for deep Kubernetes node-level troubleshooting.

Prerequisites

  1. Kubernetes cluster with kubectl configured
  2. Node access permissions for kubectl debug --profile=sysadmin
  3. Set the ENABLE_INSPEKTOR_GADGET environment variable
  4. For tcpdump toolset: tcpdump CLI installed locally

Configuration

First, verify your environment is configured:

# Verify kubectl is accessible
kubectl version --client

# Set the environment variable to enable Inspektor Gadget
export ENABLE_INSPEKTOR_GADGET=true

After making changes to your configuration, run:

holmes toolset refresh

# values.yaml
customClusterRoleRules:
  - apiGroups: [""]
    resources: ["pods", "pods/attach"]
    verbs: ["create"]
additionalEnvVars:
  - name: ENABLE_INSPEKTOR_GADGET
    value: "true"

Update your Helm values and run a Helm upgrade:

helm upgrade robusta robusta/robusta --values=generated_values.yaml --set clusterName=<YOUR_CLUSTER_NAME>

Capabilities

Provides eBPF-based node-level observability via Inspektor Gadget, including process snapshots, socket inspection, execution tracing, and network packet capture.