Docker container CPU analysis with Linux BPF tools

preview_player
Показать описание

Super excited for this one. I learn't about running perf_events inside of a container recently and made a video about it. Since then I've learnt about eBPF and wanted to see if I could run CPU profiling from a container and profile other containers on the same host. Enjoy!

Source Code:
My dockerfiles:

Also, if you're new to Kubernetes, checkout my guides below:

Check out part 1 for how to install Kubernetes on Windows:

Check out part 2 of how to use KUBECTL:

Check out part 3 of how to do deployments

Check out part 4 of how to manage application configurations

Check out part 5 of secret management explained

Like and Subscribe for more :)

Follow me on socials!

Music:

Рекомендации по теме
Комментарии
Автор

Duuuude, this video is gold! Thx for sharing it! Really really helpful. I will try it out today since I was having trouble with some docker image consuming 100% cpu. Btw I would love to see a video about kubernetes operators

KThaYo
Автор

Unfortunately only very few will appreciate your great content. Genius!!!

amrohendawi
Автор

Awesome video It would be a boon for java profiling since it makes it easy Which env variable should be used for java apps i mean COMPLUS perfmapenabled

sattish