Get the latest tech news

eBPF: Connecting with Container Runtimes


Objective - to understand how connection with Container Runtime (CR) is being made using Container Runtime Interface (CRI) in different open-source eBPF-based projects. - to query pod or container info for context enrichment.

locate unix-socket file make a grpc connection using CRI API query the info In projects that I explored, well-known paths are hardcoded for flexibility. During runtime, code iterate over these paths, tries to make a connection and returns the corresponding service, if it was success.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of eBPF

eBPF

Photo of Container Runtimes

Container Runtimes

Related news:

News photo

Implementing fast TCP fingerprinting with eBPF

News photo

Show HN: Using eBPF to see through encryption without a proxy

News photo

Isolated Execution Environment for eBPF