mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +00:00
fix cloneset rollout docs (#1660)
This commit is contained in:
@@ -18,7 +18,7 @@ kubectl apply -f docs/examples/cloneset-rollout/clonesetDefinition.yaml
|
||||
|
||||
2. Apply an application for rolling out
|
||||
```shell
|
||||
kubectl apply -f docs/examples/cloneset-rollout/app-source.yaml
|
||||
kubectl apply -f docs/examples/cloneset-rollout/app-scale.yaml
|
||||
kubectl apply -f docs/examples/cloneset-rollout/appRollout-scale.yaml
|
||||
```
|
||||
Check the status of the ApplicationRollout and wait for the rollout to complete.
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
apiVersion: core.oam.dev/v1beta1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: test-rolling
|
||||
annotations:
|
||||
"app.oam.dev/rollout-template": "true"
|
||||
spec:
|
||||
components:
|
||||
- name: metrics-provider
|
||||
type: clonesetservice
|
||||
properties:
|
||||
cmd:
|
||||
- ./podinfo
|
||||
- stress-cpu=1
|
||||
image: stefanprodan/podinfo:4.0.6
|
||||
port: 8080
|
||||
updateStrategyType: InPlaceIfPossible
|
||||
replicas: 5
|
||||
Reference in New Issue
Block a user