devops7 min read

How GitHub Uses eBPF to Improve Deployment Safety

1 similar post
  • cilium/ebpf
  • bpftrace
  • ptcpdump

AI Summary

GitHub details how they use eBPF programs, cGroups, and Go to prevent circular dependencies in their host-based deployment tooling. By monitoring network egress and intercepting DNS queries via custom kernel hooks, they selectively block forbidden domains, identify the exact processes responsible, and improve overall system recovery time.

Key Takeaways

  • Explains direct, hidden, and transient deployment circular dependencies.
  • Demonstrates using cilium/ebpf and Go to implement cGroup-based network filtering.
  • Covers rewriting DNS requests to a userspace proxy for dynamic blocklisting and process attribution.

Why it matters

Understanding how to isolate processes and intercept network traffic using modern Linux kernel capabilities like eBPF provides engineers with powerful architectural patterns for building safer deployment pipelines and resilient infrastructure.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.