• Kubernetes Submit Queue's avatar
    Merge pull request #61419 from enisoc/apps-v1-deploy · 5fe35cdb
    Kubernetes Submit Queue authored
    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.
    ```
    5fe35cdb
Name
Last commit
Last update
..
apps Loading commit data...
storage Loading commit data...
BUILD Loading commit data...
apparmor.go Loading commit data...
cassandra.go Loading commit data...
configmaps.go Loading commit data...
etcd.go Loading commit data...
horizontal_pod_autoscalers.go Loading commit data...
ingress.go Loading commit data...
kube_proxy_migration.go Loading commit data...
mysql.go Loading commit data...
secrets.go Loading commit data...
services.go Loading commit data...
sysctl.go Loading commit data...
upgrade.go Loading commit data...