diff --git a/docs/examples/cloneset-rollout/README.md b/docs/examples/cloneset-rollout/README.md index 705de8879..05755071e 100644 --- a/docs/examples/cloneset-rollout/README.md +++ b/docs/examples/cloneset-rollout/README.md @@ -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. diff --git a/docs/examples/cloneset-rollout/app-source.yaml b/docs/examples/cloneset-rollout/app-source.yaml deleted file mode 100644 index 9e553fb84..000000000 --- a/docs/examples/cloneset-rollout/app-source.yaml +++ /dev/null @@ -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 \ No newline at end of file