mirror of https://github.com/k3s-io/k3s
![]() 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 ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
stateful_pod_control.go | ||
stateful_pod_control_test.go | ||
stateful_set.go | ||
stateful_set_control.go | ||
stateful_set_control_test.go | ||
stateful_set_status_updater.go | ||
stateful_set_status_updater_test.go | ||
stateful_set_test.go | ||
stateful_set_utils.go | ||
stateful_set_utils_test.go |