Files
kubernetes/pkg
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-16 13:43:01 -08:00
2018-02-23 09:33:14 +08:00
2018-02-16 13:43:01 -08:00
2018-02-12 10:54:33 -05:00
2018-02-16 13:43:01 -08:00
2018-01-29 10:07:37 -08:00
2018-01-15 23:17:19 +08:00