-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20, 4.21
-
None
Description of problem:
When I try to create a statefulset with more than 2
replias(example as follows), the time interval between the creation of
Pods is twice the value configured in minReadySeconds.
# k get po
NAME READY STATUS RESTARTS AGE
sts-0 1/1 Running 0 24s
sts-1 1/1 Running 0 4s
As we can see from the result, the time interval between the createion of these two pods is (24s-4s) = 20s, but in fact spec.minReadySeconds is 10 but not 20.
IIUR, the time interval between the createion of these two pods is equal to spec.minReadySeconds
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
StatefulSets with minReadySeconds take long time to deploy
Expected results:
StatefulSets with minReadySeconds should take normal time to deploy
Additional info:
reported in upstream https://github.com/kubernetes/kubernetes/issues/119352