kubernetes/cmd/kube-controller-manager/app
Kubernetes Submit Queue 5fe35cdbf9
Merge pull request #61419 from enisoc/apps-v1-deploy
Automatic merge from submit-queue (batch tested with PRs 62756, 63862, 61419, 64015, 64063). 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>.

Use apps/v1 Deployment/ReplicaSet in controller and kubectl

This updates the Deployment controller and integration/e2e tests to use apps/v1, as part of #55714.

This also requires updating any other components that use the `deployment/util` package, most notably `kubectl`. That means client versions 1.11 and above will only work with server versions 1.9 and above. This is well within our client-server version skew policy of +/-1 minor version.

However, this PR *only* updates the parts of `kubectl` that used `deployment/util`. So although kubectl now requires apps/v1, it still also depends on extensions/v1beta1. Migrating other parts of kubectl to apps/v1 is beyond the scope of this PR, which was just to change the Deployment controller and fix all the fallout.

```release-note
kubectl: This client version requires the `apps/v1` APIs, so it will not work against a cluster version older than v1.9.0. Note that kubectl only guarantees compatibility with clusters that are +/-1 minor version away.
```
2018-05-23 18:14:13 -07:00
..
config auto generated file 2018-05-18 10:23:38 +08:00
options auto generated file 2018-05-18 10:23:38 +08:00
apps.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
autoscaling.go Add RESTMapper to ControllerContext and make it generic for controllers 2018-04-28 09:58:43 +08:00
batch.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
bootstrap.go use shared informers for TokenCleaner controller 2018-01-15 14:56:42 +08:00
BUILD Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
certificates.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
cloudproviders.go Extract instantiation of cloud provider 2018-02-08 08:15:41 -05:00
controller_manager_test.go Using assertions 2017-10-10 22:44:12 -05:00
controllermanager.go modify kube-controller manager config struct to adapt option change 2018-05-18 10:23:38 +08:00
core.go Merge pull request #63049 from andrewsykim/kcm-nodeipam 2018-05-11 11:07:12 -07:00
import_known_versions.go remove KUBE_API_VERSIONS 2018-04-26 08:27:49 -04:00
plugins.go nit: remove CSI plugin from ProbeExpandableVolumePlugins 2018-02-10 21:18:23 +08:00
policy.go Log more verbose when DisruptionController doesn't start. 2017-05-18 13:19:06 -07:00
rbac.go add clusterrole aggregation controller 2017-11-13 08:18:00 -05:00