This article has been deprecated and moved to the new Sysdig documentation site.
To compile the required kernel module for the Sysdig Monitor agent, your host needs to have its kernel development headers installed. For RancherOS, the kernel headers are available in the form of a system service.
Since the kernel headers are a system-service, they need to be enabled using the
ros service command.
sudo ros service enable kernel-headers-system-docker
sudo ros service up -d kernel-headers-system-docker
You can then install agent as normal.