Quickstart with Minikube
Use this guide to run the eBPF Sensor on Minikube.
Run the following command to identify your Minikube driver:
minikube profile list
|----------|-----------|---------|--------------|------|---------|---------|-------|--------|
| Profile | VM Driver | Runtime | IP | Port | Version | Status | Nodes | Active |
|----------|-----------|---------|--------------|------|---------|---------|-------|--------|
| minikube | docker | docker | 192.168.49.2 | 8443 | v1.27.3 | Running | 1 | * |
|----------|-----------|---------|--------------|------|---------|---------|-------|--------|
The VM Driver column shows the driver used by your Minikube profile.
For testing the eBPF Sensor in Minikube, we recommend:
- Using Minikube with a VM driver (for example, kvm2 or VirtualBox)
- If you already use a VM, you may run Minikube on bare metal with the
nonedriver
Refer to the Minikube docs for the complete list of available drivers.
Based on your Minikube driver, follow the instructions below:
Bare-metal or VM-based drivers
Follow the standard Kubernetes installation instructions.
Docker driver
Because the eBPF Sensor requires access to /proc on the host, you must mount it when running with the Docker driver.
First, run:
minikube mount /proc:/ggproc
Then, in a new terminal window, run:
helm repo add levoai https://charts.levo.ai && helm repo update levoai
helm pull levoai/levoai-ebpf-sensor --untar
cd levoai-ebpf-sensor/
sed -i "s/path: \/proc/path: \/ggproc/" templates/deployment.yaml
helm upgrade --install levoai-sensor . -n levoai