Teach how to run canary deployments
This commit is contained in:
@@ -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.
|
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
|
## Writing a Deployment Spec
|
||||||
|
|
||||||
As with all other Kubernetes configs, a Deployment needs `apiVersion`, `kind`, and
|
As with all other Kubernetes configs, a Deployment needs `apiVersion`, `kind`, and
|
||||||
|
|||||||
Reference in New Issue
Block a user