Summary

In this chapter, we started with looking at the Pod lifecycle and status details in depth, expanding to show multiple ways of revealing relevant details, and describing what Kubernetes does beneath the covers while running your software. We then looked at the feedback loops that your program can provide with liveness and readiness probes, and reviewed examples of enabling those in both Python and Node.js. Following on from the probes and how your code can interact with Kubernetes cleanly, we looked at the common cases for startup and initialization, and graceful shutdown.

In the next chapter, we look at how to use Kubernetes and open source to provide basic observability for your applications, specifically monitoring and logging. ...

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.