Complete the code to specify the number of replicas in a StatefulSet.
replicas: [1]The replicas field sets how many pods the StatefulSet will create. Here, 5 replicas means 5 pods.
Complete the code to set the service name used by the StatefulSet.
serviceName: [1]The serviceName field defines the headless service that governs the network identity of the pods.
Fix the error in the pod naming pattern for StatefulSet pods.
pod name example: [1]-0
Pods in a StatefulSet are named with the StatefulSet name plus a dash and an ordinal number starting at 0.
Fill both blanks to complete the StatefulSet pod ordinal naming and startup order.
Pods start in order from [1] to [2]
StatefulSet pods start in ordinal order from 0 up to n-1, where n is the number of replicas.
Fill all three blanks to complete the pod identity and volume claim template naming in a StatefulSet.
pod name: [1]-[2] volume claim template name: [3]-[2]
The pod name uses the StatefulSet name plus ordinal (e.g., statefulset-0). The volume claim template uses a name like 'data' plus the ordinal (e.g., data-0).