k3s/pkg/controller
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
..
bootstrap should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
certificates Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
cloud fix ut 2018-05-15 17:22:40 +08:00
clusterroleaggregation
cronjob Merge pull request #62011 from hanxiaoshuai/fixtodo0402 2018-04-05 18:47:07 -07:00
daemon Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
deployment Set explicit labels/selector for apps/v1 Deployment/RS. 2018-05-22 13:43:07 -07:00
disruption Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
endpoint Actually support service `publishNotReadyAddresses` 2018-05-14 14:19:54 -07:00
garbagecollector remove unused gc code 2018-05-21 20:22:37 +08:00
history remove versioning interface 2018-04-27 07:56:42 -04:00
job Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
namespace fix dynamic client name 2018-05-11 13:12:09 -04:00
nodeipam renable nodeipam in kube-controller-manager 2018-04-23 22:28:37 -04:00
nodelifecycle increase timeout in TestCancelAndReadd 2018-05-17 10:26:17 -04:00
podautoscaler Fixing wrong unit test naming 2018-05-19 08:09:39 +08:00
podgc
replicaset update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
replication Use typed events client directly 2018-04-01 18:57:29 +10:00
resourcequota should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
route should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
service Use typed events client directly 2018-04-01 18:57:29 +10:00
serviceaccount Merge pull request #63582 from WanLinghao/sa_var_clean 2018-05-11 20:00:05 -07:00
statefulset should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
testutil PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
ttl
util/node PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
volume Merge pull request #63692 from msau42/debug-scheduler 2018-05-18 23:35:17 -07:00
.import-restrictions
BUILD Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
OWNERS
client_builder.go
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
doc.go
lookup_cache.go