5. Pods

Overview

This chapter introduces the concept of pods and teaches how to properly configure and deploy them. We will begin by creating a simple pod with your application container running in it. We will explain what the different aspects of pod configuration mean and decide which configuration to use based on your application or use case. You will be able to define resource allocation requirements and limits for pods. We will then move on to see how we can debug the pod, check the logs, and make changes to it when needed. Some more useful tools for managing faults in pods, such as liveness and readiness probes and restart policies, are also covered in this chapter.

Introduction

In the previous chapter, we learned how to use kubectl ...

Get The Kubernetes Workshop 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.