WIP
BPFs on Kubernetes.
-
Build the operator, the eBPF runner, and other Go tools
make -
Build the docker image (and push it when the runner has changes)
make image docker push bpftools/runbpf
-
Create the BPF custom resources
make examplesThis command creates BPF custom resources - eg., YAML files - for the eBPF programs listend in
BPF_SOURCESvariable. In case you want to scope the resources you can issue themake BPF_NAMESPACE=awesome examplescommand. You can modify theBPF_SOURCESandBPF_NAMESvariables appending your eBPF programs to make it compile also them. -
Start the operator
./output/operator -
Apply the BPF, eg.:
kubectl apply -f output/pacchetti.yaml
