Teach how to run canary deployments

This commit is contained in:
Janet Kuo
2016-04-12 17:41:56 -07:00
parent c168f89aa9
commit 24b8db0877
+6
View File
@@ -409,6 +409,12 @@ nginx-deployment-3066724191 0 0 1h
Note: A paused Deployment cannot be scaled at this moment, and we will add this feature in 1.3 release, see [issue #20853](https://github.com/kubernetes/kubernetes/issues/20853). You cannot rollback a paused Deployment either, and you should resume a Deployment first before doing a rollback.
## Use Cases
### Canary Deployment
If you want to run multiple versions of a container using the Deployment, you can just create multiple Deployments for different versions.
## Writing a Deployment Spec
As with all other Kubernetes configs, a Deployment needs `apiVersion`, `kind`, and