Additional Kubernetes Features
In this lesson, we'll discuss some additional Kubernetes features.
Kubernetes is a powerful technology with many features. Here are some examples of additional Kubernetes features:
Monitoring with liveness and readiness probes #
Kubernetes recognizes the failure of a pod via Liveness Probes. A custom Liveness Probe can be used to determine when a container is started anew depending on the needs of the application.
A Readiness Probe, however, indicates whether a container can process requests or not.
-
For example, if the application is blocked by processing a large amount of data or has not yet started completely, the Readiness Probe can report this state to Kubernetes.
-
In contrast to a Liveness Probe, the container is not restarted as a result of a failed Readiness Probe.
-
Kubernetes assumes that after some time the pod will signal via the Readiness Probe that it can handle requests.
Get hands-on with 1200+ tech skills courses.