Indeed, there's kubectl-trace to help you do it!
The kubectl-trace project is a kubectl plugin that makes our lives easier, allowing us to use BPF programs against our Kubernetes clusters.
You are 5 minutes away from starting scheduling your bpftrace programs (or whatever BPF frontend language) against your clusters.
Join this talk to have some fun tracing the system calls happening on our Kubernetes nodes and pods.
Resources:
- https://github.com/iovisor/kubectl-trace
- https://github.com/iovisor/bpftrace
- https://github.com/iovisor/bcc
- Watch on YT: https://bit.ly/kubectl-trace-ebpf-summit-2021
Ask questions:
- https://twitter.com/leodido
- https://kubernetes.slack.com/messages/kubectl-trace