Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue d4acd6b997 Merge pull request #58283 from nikhita/kubectl-scale-unstructured
Automatic merge from submit-queue (batch tested with PRs 59463, 59719, 60181, 58283, 59966). 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>.

kubectl scale: support Unstructured objects

Support `Unstructured` objects with kubectl scale.

So that we can use the scale subresource for custom resources (possible after https://github.com/kubernetes/kubernetes/pull/55168 is merged):

```
➜ cluster/kubectl.sh scale --replicas=5 crontabs/my-new-cron-object
crontab "my-new-cron-object" scaled
```

**Release note**:

```release-note
NONE
```

/cc sttts deads2k p0lyn0mial
2018-02-23 00:34:30 -08:00
..
2018-02-21 08:15:22 -05:00
2017-10-15 18:18:13 -07:00
2018-02-21 08:15:22 -05:00
2018-02-21 08:15:22 -05:00
2017-12-25 16:23:38 +08:00
2018-02-21 15:20:20 -05:00
2018-02-21 08:15:22 -05:00
2018-01-05 21:04:44 -06:00
2018-02-21 08:15:22 -05:00
2017-12-25 16:23:38 +08:00
2017-12-25 16:23:38 +08:00
2017-12-25 16:23:38 +08:00
2017-12-25 16:23:38 +08:00
2018-02-21 08:15:22 -05:00
2017-12-25 16:23:38 +08:00
2017-12-25 16:23:38 +08:00
2018-02-21 08:15:22 -05:00
2017-12-25 16:23:38 +08:00
2018-02-21 15:20:20 -05:00
2018-02-21 08:15:22 -05:00
2018-01-25 16:10:31 +01:00
2017-12-25 16:23:38 +08:00
2018-02-21 08:15:22 -05:00
2018-02-21 08:15:22 -05:00
2017-12-25 16:23:38 +08:00
2017-12-25 16:23:38 +08:00
2018-02-21 08:15:22 -05:00
2018-02-21 15:20:20 -05:00
2018-02-21 08:15:22 -05:00