Run Coroot on Fly

I want to use Coroot.

Their docs Requirements | Coroot Documentation

explains how it works:

  • Coroot relies heavily on eBPF, therefore, the minimum supported Linux kernel version is 5.1.

  • eBPF-based continuous profiling utilizes CO-RE. CO-RE is supported by most modern Linux distributions, including:

    • Ubuntu 20.10 and above

    • Debian 11 and above

    • RHEL 8.2 and above

  • Coroot gathers metrics, logs, traces, and profiles, with each telemetry signal associated with containers. In this context, a container refers to a group of processes running within a dedicated cgroup. The following container types are supported:

    • Kubernetes Pods using Docker, Containerd, or CRI-O as their runtime environment

    • Standalone containers: Docker, Containerd, CRI-O

    • Docker Swarm

    • Systemd units: any systemd service is also considered as a container

  • Supported container orchestrators include:

    • Kubernetes: Self-managed, EKS (including basic support for AWS Fargate), GKE, AKS, OKE

    • OpenShift

    • K3s

    • MicroK8s

    • Docker Swarm

  • Limitations:

    • Coroot doesn’t support Docker-in-Docker environments such as MiniKube due to eBPF limitations

    • WSL1 (Windows Subsystem for Linux) is not supported

I understand that I need to have a compatible container orchestrator.

What kind of orchestrator does Fly use?

In general, my goal is to understand what is needed to use Coroot on Fly.

Fly.io runs on Firecracker. The default machine type injects a custom PID1 from Fly, and there is a run mode where there is no Fly PID1 process; I think that is basically Docker-in-Firecracker (so the outer VM would still have a custom PID1, but since your service would sit in Docker, you can take the PID1 there if you want).

Tbh, I am not sure how the orchestrator would come into it; it is more likely going to be the nature of the runtimes. Could you spin up a standard Fly machine with a basic Coroot instance, to see if it starts up? I’ve have thought it would either work or not work, so you’d be able to find out quickly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.