Chapter 17. Best practices for developing apps

This chapter covers

  • Understanding which Kubernetes resources appear in a typical application
  • Adding post-start and pre-stop pod lifecycle hooks
  • Properly terminating an app without breaking client requests
  • Making apps easy to manage in Kubernetes
  • Using init containers in a pod
  • Developing locally with Minikube

We’ve now covered most of what you need to know to run your apps in Kubernetes. We’ve explored what each individual resource does and how it’s used. Now we’ll see how to combine them in a typical application running on Kubernetes. We’ll also look at how to make an application run smoothly. After all, that’s the whole point of using Kubernetes, isn’t it?

Hopefully, this chapter will help to ...

Get Kubernetes in Action 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.