From c492462f906d6487b9f8d86500186d92e8028a90 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Mon, 11 Jan 2016 14:00:01 -0800 Subject: [PATCH] Address comments; more details about deployment versions --- docs/proposals/deploy.md | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/docs/proposals/deploy.md b/docs/proposals/deploy.md index 048c6c1fb6b..c429e2f6f26 100644 --- a/docs/proposals/deploy.md +++ b/docs/proposals/deploy.md @@ -18,10 +18,6 @@ If you are using a released version of Kubernetes, you should refer to the docs that go with that version. - -The latest release of this document can be found -[here](http://releases.k8s.io/release-1.1/docs/proposals/deploy.md). - Documentation for other releases can be found at [releases.k8s.io](http://releases.k8s.io). @@ -55,7 +51,7 @@ Documentation for other releases can be found at ## Motivation -Users can use Deployments or `kubectl rolling-update` to deploy in their Kubernetes clusters. A Deployment provides declarative update for Pods and ReplicationControllers, whereas `rolling-update` allows the users to update their earlier deployment without worrying about schemas and configurations. Users need a way that's similar to `rolling-update` to manage their Deployments more easily. +Users can use [Deployments](../user-guide/deployments.md) or [`kubectl rolling-update`](../user-guide/kubectl/kubectl_rolling-update.md) to deploy in their Kubernetes clusters. A Deployment provides declarative update for Pods and ReplicationControllers, whereas `rolling-update` allows the users to update their earlier deployment without worrying about schemas and configurations. Users need a way that's similar to `rolling-update` to manage their Deployments more easily. `rolling-update` expects ReplicationController as the only resource type it deals with. It's not trivial to support exactly the same behavior with Deployment, which requires: - Print out scaling up/down events. @@ -88,10 +84,11 @@ Users may use `kubectl scale` or `kubectl autoscale` to scale up and down Deploy `kubectl rollout` supports both Deployment and DaemonSet. It has the following subcommands: - `kubectl rollout undo` works like rollback; it allows the users to rollback to a previous version of deployment. -- `kubectl rollout pause` allows the users to pause a deployment. +- `kubectl rollout pause` allows the users to pause a deployment. See [pause deployments](#pause-deployments). - `kubectl rollout resume` allows the users to resume a paused deployment. - `kubectl rollout status` shows the status of a deployment. -- `kubectl rollout history` shows meaningful version information of all previous deployments. +- `kubectl rollout history` shows meaningful version information of all previous deployments. See [development version](#deployment-version). +- `kubectl rollout retry` retries a failed deployment. See [perm-failed deployments](#perm-failed-deployments). ### `kubectl set` @@ -150,7 +147,21 @@ See issue [#17164](https://github.com/kubernetes/kubernetes/issues/17164). ### Deployment Version -We store previous deployment versions information in deployment annotation `kubectl.kubernetes.io/deployment-version-