Skip to content

Latest commit

 

History

History

deployments

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Deployment example files

This directory contains some example files that show how the netobserv-ebpf-agent can be deployed. In production, the agent is deployed by the Network Observability Operator but the files contained here are useful for documentation and manual testing.

  • flp-daemonset.yml, shows how to deploy/configure the Agent when Flowlogs Pipeline is deployed as daemonset, taking the target host configuration from the Host IP.
  • flp-daemonset-cap.yml, same as flp-daemonset.yml, but assigning individual capabilities instead of deploying a fully-privileged container.
  • flp-service.yml, shows how to deploy/configure the Agent when Flowlogs Pipeline is deployed as a service, explicitly setting the host configuration as the service name.

For manual testing, apply the permissions needed to run ebpf.

''' kubectl apply -f ./perms.yml '''

Then, create deploy loki.

''' curl -S -L https://raw.githubusercontent.com/netobserv/documents/main/examples/zero-click-loki/1-storage.yaml | kubectl create -n netobserv -f - curl -S -L https://raw.githubusercontent.com/netobserv/documents/main/examples/zero-click-loki/2-loki.yaml | kubectl create -n netobserv -f - '''

Finally bring up ebpf and flp.

''' kubectl apply -f ./flp-service.yml '''