v-m/vmstorage: Start pods in parallel

By default, Kubernetes waits for each pod in a StatefulSet to become
"ready" before starting the next one.  If there is a problem starting
that pod, e.g. data corruption, then the others will never start.  This
sort of defeats the purpose of having multiple replicas.  Fortunately,
we can configure the pod management policy to start all the pods at
once, regardless of the status of any individual pod.  This way, if
there is a problem with the first pod, the others will still come up
and serve whatever data they have.
This commit is contained in:
2024-06-23 09:53:36 -05:00
parent 14be633843
commit ab458df415

View File

@@ -29,6 +29,7 @@ spec:
matchLabels:
app.kubernetes.io/name: vmstorage
app.kubernetes.io/component: vmstorage
podManagementPolicy: Parallel
template:
metadata:
labels: