From 76744ad26e0b6650c9fa7170d3eec91e80ef025f Mon Sep 17 00:00:00 2001 From: wyike <77846369+wangyikewxgm@users.noreply.github.com> Date: Mon, 24 May 2021 17:23:02 +0800 Subject: [PATCH] fix cloneset rollout docs (#1660) --- docs/examples/cloneset-rollout/README.md | 2 +- docs/examples/cloneset-rollout/app-source.yaml | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 docs/examples/cloneset-rollout/app-source.yaml 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