Slide 1

Slide 1 text

eBPF on Cloud Native Uchio Kondo @CloudNativeDays Tokyo Meetup Image from: https://pixabay.com/images/id-2111811/

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

From Shirogane, Fukuoka, JP To Shirokane, Minato-ku, JP

Slide 4

Slide 4 text

My Interests:

Slide 5

Slide 5 text

* Runtimes * Kernels * Systems Programing

Slide 6

Slide 6 text

Call me “Serverful Guy”

Slide 7

Slide 7 text

Today

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

eBPF is so good at tracing/networking

Slide 11

Slide 11 text

Such as seccomp, perf, tc, XDP

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

But eBPF byte codes are hard to write

Slide 14

Slide 14 text

BCC can create eBPF program in combination of a little C and Python/Lua

Slide 15

Slide 15 text

bpftrace(8) is a new dtrace
 having a flavor of eBPF

Slide 16

Slide 16 text

IO Visor is (also)
 a Linux Foundation Project

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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