Skip to content

Commit 69039de

Browse files
committed
Not consider minReadySeconds for PVCs only update
1 parent 7992ee5 commit 69039de

File tree

1 file changed

+3
-1
lines changed
  • keps/sig-apps/4650-stateful-set-update-claim-template

1 file changed

+3
-1
lines changed

keps/sig-apps/4650-stateful-set-update-claim-template/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,11 @@ The patch used in server-side apply is the volumeClaimTemplates in the StatefulS
302302
* `controller-revision-hash` label is added to the PVCs.
303303

304304
Naturally, most of the update control logic also applies to PVCs.
305-
* Wait for PVCs to be ready for at least `minReadySeconds` before proceeding to the next replica.
306305
* If `updateStrategy` is `RollingUpdate`, update the PVCs in the order from the largest ordinal to the smallest.
307306
* If `updateStrategy` is `OnDelete`, only update the PVCs if the Pod is deleted manually.
307+
However, `minReadySeconds` is not considered when only PVCs are updated.
308+
because it is hard to determine when the PVC become ready.
309+
And updating PVCs is unlikely to disrupt workloads, so it should be unnecessary to inject delay into the update process.
308310

309311
When creating new PVCs, use the `volumeClaimTemplates` from the same revision that is used to create the Pod.
310312

0 commit comments

Comments
 (0)