Deploy Grafana Beyla as a DaemonSet on Kubernetes for eBPF auto-instrumentation of HTTP and gRPC services without code changes

domain: grafana.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a Beyla DaemonSet manifest with the beyla container image, requesting the CAP_SYS_PTRACE and CAP_NET_ADMIN capabilities and a hostPID: true pod spec
  2. Configure the BEYLA_OPEN_PORT or BEYLA_SERVICE_NAME environment variables to target specific processes or use BEYLA_DISCOVERY_SERVICES for process auto-discovery
  3. Set the OTEL_EXPORTER_OTLP_ENDPOINT to point at the OTel Collector running as a DaemonSet or Deployment in the cluster
  4. Create RBAC resources (ServiceAccount, ClusterRole, ClusterRoleBinding) granting Beyla access to node-level process information
  5. Validate instrumentation by generating traffic and checking the Collector or backend for http.server.duration and rpc.server.duration metrics

Known gotchas

Related routes

Deploy Grafana Beyla for eBPF auto-instrumentation of HTTP and gRPC services
grafana.com · 5 steps · unrated
Auto-instrument HTTP and gRPC services for RED metrics and traces using Grafana Beyla eBPF without modifying application code
grafana.com/docs/beyla · 6 steps · unrated
Detect eBPF-based runtime threats in a Kubernetes cluster using Falco with eBPF driver
falco.org · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans