Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-65973

the time interval between the creation of two StatefulSet pods is not equal to spec.minReadySeconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20, 4.21
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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    

       
       
       

       

              fkrepins@redhat.com Filip Krepinsky
              fkrepins@redhat.com Filip Krepinsky
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: