July 2024
Beginner to intermediate
330 pages
6h 48m
English
Pods are unreliable, and you should never connect to them directly. You should always connect to them through a Service.
The chapter is divided as follows:
Kubernetes treats Pods as ephemeral objects and deletes them when any of the following events occur:
This means they’re unreliable, and apps can’t rely on them being there to respond to requests. Fortunately, Kubernetes has a solution — Service objects sit in front of one or more identical Pods and expose them via a reliable DNS name, IP address, and port.
Figure 7.1 shows a client connecting to an application via a Service called app1. The client connects ...
Read now
Unlock full access