~/talk

Debugging and Troubleshooting Java-based Microservices in Kubernetes

Talkat Voxxed Days Minsk 2018 · on Saturday, 2018-05-26· [kubernetes]
slides:none on file

Walks through diagnosing a Java microservice error end-to-end: verify staging vs production, avoid image tag latest, use kubectl describe and kubectl logs with kubetail/stern, query JFrog Artifactory for exact image build, toggle a pod’s label to remove it from service, port‑forward into the pod and attach a debugger, and use Zipkin traces plus centralized logging (ELK or Stackdriver) and the Stackdriver Debugger agent to hot‑add logging and take snapshots; root cause turns out to be an empty name field.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:36Microservices architecture overview
  3. 4:03Deploying microservices in Kubernetes
  4. 7:24Debugging production errors
  5. 10:20Staging vs production environments
  6. 13:47Inspecting container logs
  7. 17:02Finding error logs in instances
  8. 19:57Centralized logging with Cloud Logging
  9. 23:11Analyzing error patterns
  10. 26:49Restarting unhealthy instances
  11. 28:17Modifying labels at runtime
  12. 30:05Debugging with kubectl exec
  13. 32:38Troubleshooting inter-service connections
  14. 35:06Distributed tracing with Zipkin
  15. 39:57Debugging with live agents
  16. 43:32Adding debug logs dynamically
  17. 46:34Comparing trace data over time
  18. 48:00Key troubleshooting tools summary
  19. 50:16Q&A session
~/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.