~/talk

Troubleshooting & Debugging Microservices in Kubernetes

Talkat GOTO Chicago 2019 · 2019-04-29..04-30· [kubernetes, microservices]
linkedin:kubisrobert
slides:none on file

Demo of debugging microservices on Kubernetes that shows concrete steps and tools: inspect deployments with kubectl describe and image sha (don’t use latest), aggregate logs to Stackdriver Logging and export to BigQuery for SQL analysis, use stern/kubetail for live tails, isolate a bad pod by changing labels and use kubectl port-forward and kubectl exec to probe it, and add JVM agent–backed live logs or take snapshots with the debugger to see variables without halting production. The live bug is an empty username in session that bubbles up as 404/500.

AI-written summary · about

  1. 0:00Start
  2. 23:12output it to bigquery
  3. 41:59add lock messages on your protection application
  4. 45:22attach a production debugger
  5. 46:14take a snapshot of your running instance with the exact state
  6. 49:30add life log messages through your application
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.