Interacting with Your Code in Kubernetes

In the last chapter, we walked through making container images, and created simple examples using Python and Node.js. In this chapter, we will expand on the brief introduction to interacting with your running code, and dig into further details on how to see how your code is operating, run additional commands, and get debugging from those Pods. 

The sections for this chapter are:

  • Practical notes for writing your software to run in a Pod
  • Getting logs from your containers and Pods
  • Interaction with a running Pod
  • Kubernetes Concepts—labels and selectors
  • Kubernetes Resource—service
  • Discovering services from your Pod

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.