mirror of https://github.com/kubevela/kubevela.git
* clean up some logic rebase and reorder phase add log and modify e2e-test fix reviwable fix comment * fix condition relate comments finish test func fix formate error |
||
|---|---|---|
| .. | ||
| README.md | ||
| app-rollout-finish.yaml | ||
| app-rollout-pause.yaml | ||
| app-rollout-scale.yaml | ||
| app-source.yaml | ||
| app-target.yaml | ||
| webservice-definition.yaml | ||
README.md
Rollout Example
Here is an example of how to rollout an application with a component of type deployment.
Rollout steps
- Install deployment based workloadDefinition
kubectl apply -f docs/examples/deployment-rollout/webservice-definition.yaml
- Apply an application
kubectl apply -f docs/examples/deployment-rollout/app-source.yaml
- Modify the application image and apply
kubectl apply -f docs/examples/deployment-rollout/app-target.yaml
- Apply scale appRollout
kubectl apply -f docs/examples/deployment-rollout/app-rollout-scale.yaml
- Apply the application deployment with pause
kubectl apply -f docs/examples/deployment-rollout/app-rollout-pause.yaml
Check the status of the ApplicationRollout and see the step by step rolling out. This rollout will pause after the second batch.
- Apply the application deployment that completes the rollout
kubectl apply -f docs/examples/deployment-rollout/app-rollout-finish.yaml
Check the status of the AppRollout and see the rollout completes, and the
AppRollout's "Rolling State" becomes rolloutSucceed