• Kubernetes Submit Queue's avatar
    Merge pull request #62943 from faraazkhan/master · 162655f4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 66304, 62943). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    set updated replicas
    
    **What this PR does / why we need it**: 
    Sets the `.status.updatedReplicas` field for stateful sets when they are being created. This behavior is consistent with how this field is handled in the deployments controller and also allows for `kubectl rollout status` to work when stateful sets are being created. 
    
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #52653
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    fix rollout status for statefulsets
    ```
    162655f4
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
stateful_pod_control.go Loading commit data...
stateful_pod_control_test.go Loading commit data...
stateful_set.go Loading commit data...
stateful_set_control.go Loading commit data...
stateful_set_control_test.go Loading commit data...
stateful_set_status_updater.go Loading commit data...
stateful_set_status_updater_test.go Loading commit data...
stateful_set_test.go Loading commit data...
stateful_set_utils.go Loading commit data...
stateful_set_utils_test.go Loading commit data...