k3s/pkg/controller/statefulset
Kubernetes Submit Queue 162655f42f
Merge pull request #62943 from faraazkhan/master
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
```
2018-07-17 17:52:59 -07:00
..
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
OWNERS Remove kargakis from OWNERS, add tnozicka 2017-09-19 11:05:23 +02:00
stateful_pod_control.go Merge pull request #55792 from dhilipkumars/statefulset-appsv1 2018-01-26 06:54:33 -08:00
stateful_pod_control_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
stateful_set.go should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
stateful_set_control.go set updated replicas correctly in scale up, scale down scenarios as well 2018-04-25 20:46:17 -05:00
stateful_set_control_test.go set updated replicas correctly in scale up, scale down scenarios as well 2018-04-25 20:46:17 -05:00
stateful_set_status_updater.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30
stateful_set_status_updater_test.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30
stateful_set_test.go fix unit tests using Patch in fake client 2018-05-30 11:33:55 -07:00
stateful_set_utils.go Modify tests 2018-02-22 19:19:06 +05:30
stateful_set_utils_test.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30