fix cloneset rollout docs (#1660)

This commit is contained in:
wyike
2021-05-24 17:23:02 +08:00
committed by GitHub
parent c93db6494a
commit 76744ad26e
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -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