Live Kubernetes Debugging with the Elastic Stack

A presentation at XP Days in December 2018 in Kyiv, Ukraine, 02000 by Philipp Krenn

Slide 1

Slide 1

Live Kubernetes Debugging with the Philipp Krenn @xeraa

Slide 2

Slide 2

Kubernetes is the answer. What was the ques1on? — h$ps://twi$er.com/charlesfitz/status/1068203930683752448

Slide 3

Slide 3

Developer

Slide 4

Slide 4

Slide 5

Slide 5

Infrastructure UI Logs and Metrics

Slide 6

Slide 6

Where is the data coming from?

Slide 7

Slide 7

Metricbeat System, Docker, Kubernetes

Slide 8

Slide 8

How can it access the disk and the Docker daemon?

Slide 9

Slide 9

Metricbeats Hints, MySQL

Slide 10

Slide 10

Filebeat Autodiscover with annotations

Slide 11

Slide 11

Logs UI kubernetes.namespace : "default"

Slide 12

Slide 12

Packetbeat Overview, HTTP, MySQL

Slide 13

Slide 13

Packetbeat Discover type: mysql and status: Error

Slide 14

Slide 14

PS: - drop_event: when: or: - contains.path: "/health" - equals.path: "/metrics"

Slide 15

Slide 15

APM

Slide 16

Slide 16

Conclusion

Slide 17

Slide 17

From to With Kubernetes !

Slide 18

Slide 18

PS: Tomorrow Elas.c Docker images

Slide 19

Slide 19

Ques%ons & Discussion Philipp Krenn @xeraa