January 2019
Intermediate to advanced
484 pages
11h 48m
English
StatefulSet was introduced in Kubernetes 1.5; this consists of a bond between the pod and the persistent volume. When scaling a pod that increases or decreases, pod and persistent volume are created or deleted together.
In addition, the pod-creation process is serial. For example, when requesting Kubernetes to scale two additional StatefulSets, Kubernetes creates Persistent Volume Claim 1 and Pod 1 first, and then creates Persistent Volume Claim 2 and Pod 2, but not simultaneously. This helps the administrator if an application registers to a registry during the application bootstrap:
Even if one pod is dead, StatefulSet preserves the position of the pod (Kubernetes metadata, such ...
Read now
Unlock full access