eBPF on Cloud Native

eBPF on Cloud Native

CNDT2019 After Meetup! @ Wantedly in Shirokane

2cf373725ded741824c50fd571eda6e1?s=128

KONDO Uchio

July 24, 2019
Tweet

Transcript

  1. eBPF on Cloud Native Uchio Kondo @CloudNativeDays Tokyo Meetup Image

    from: https://pixabay.com/images/id-2111811/
  2. Uchio Kondo / @udzura https://blog.udzura.jp/ ۙ౻ ͏͓ͪ Dev Productivity Team

    @ GMO Pepabo, Inc. RubyKaigi 2019 Local Organizer && Speaker CNDF 2019 Chair Community Organizer: #;͘͹Ͷͯ͢ (Fu-Kubernetes) Duolingo heavy user
  3. From Shirogane, Fukuoka, JP To Shirokane, Minato-ku, JP

  4. My Interests:

  5. * Runtimes * Kernels * Systems Programing

  6. Call me “Serverful Guy”

  7. Today

  8. None
  9. eBPF does to Linux what JavaScript does to HTML. http://www.brendangregg.com/blog/2019-01-01/learn-ebpf-tracing.html

  10. eBPF is so good at tracing/networking

  11. Such as seccomp, perf, tc, XDP

  12. We use Linux to do cloud-native stuff, so eBPF is

    effective
  13. But eBPF byte codes are hard to write

  14. BCC can create eBPF program in combination of a little

    C and Python/Lua
  15. bpftrace(8) is a new dtrace
 having a flavor of eBPF

  16. IO Visor is (also)
 a Linux Foundation Project

  17. BTW:
 my hobby bonsai project mruby-bcc https://github.com/udzura/mruby-bcc/blob/master/example/usdt.rb

  18. Demo of tracing in Kubernetes Pod https://medium.com/@calavera/spy-on-your-kubernetes-cluster-with-bpf-b09032bd1cdc

  19. More detailed: eBPF talk on KubeCon 2018 https://kccna18.sched.com/event/GrYw/ebpf-powered-distributed-kubernetes-performance-analysis- lorenzo-fontana-influxdata