From dc15f21912777950962b8e7cae8797bac62b0c51 Mon Sep 17 00:00:00 2001 From: yejiayu Date: Wed, 12 Aug 2020 21:16:55 +0800 Subject: [PATCH 1/5] test: Chaos test --- charts/deploy-chaos/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/deploy-chaos/values.yaml b/charts/deploy-chaos/values.yaml index eaeda6f5a..95c0fa9aa 100644 --- a/charts/deploy-chaos/values.yaml +++ b/charts/deploy-chaos/values.yaml @@ -21,9 +21,9 @@ repo_name: muta version: latest resources: - cpu: 1100m - memory: 4Gi - storage: 6Gi + cpu: 2200m + memory: 8Gi + storage: 50Gi persistent: true chaos: From 1a6c58bd01aabc7348e277546d0d779480c0e044 Mon Sep 17 00:00:00 2001 From: yejiayu Date: Wed, 12 Aug 2020 21:18:18 +0800 Subject: [PATCH 2/5] update config --- jenkins-x-chaos.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/jenkins-x-chaos.yml b/jenkins-x-chaos.yml index c3d7eab75..6a030b3f7 100644 --- a/jenkins-x-chaos.yml +++ b/jenkins-x-chaos.yml @@ -7,7 +7,7 @@ pipelineConfig: image: mutadev/muta-build-env:v0.3.0 options: timeout: - time: 180 # 3H + time: 43200 # 30Day unit: minutes stages: - name: chaos @@ -78,19 +78,13 @@ pipelineConfig: image: mutadev/muta-watchdog:v0.2.0-rc env: - name: WATCH_DURATION - value: 1H + value: 43200H - name: APP_NAMESPACE value: mutadev - name: APP_PORT value: "8000" - name: APP_GRAPHQL_URL value: graphql - - name: JOB_BENCHMARK_DURATION - value: "300" - - name: JOB_BENCHMARK_TIMEOUT_GAP - value: "9999" - - name: JOB_BENCHMARK_CPU - value: "3" command: APP_NAME=chaos-${REPO_NAME}-pr-${PULL_NUMBER}-${BUILD_NUMBER} node /watchdog/index.js - name: delete-chaos-crd From d7f785a9404081c25b8a8eb229a4655a16f20320 Mon Sep 17 00:00:00 2001 From: yejiayu Date: Wed, 12 Aug 2020 21:52:13 +0800 Subject: [PATCH 3/5] fix time --- jenkins-x-chaos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins-x-chaos.yml b/jenkins-x-chaos.yml index 6a030b3f7..472c96c06 100644 --- a/jenkins-x-chaos.yml +++ b/jenkins-x-chaos.yml @@ -7,7 +7,7 @@ pipelineConfig: image: mutadev/muta-build-env:v0.3.0 options: timeout: - time: 43200 # 30Day + time: 14400 # 10 Day unit: minutes stages: - name: chaos @@ -78,7 +78,7 @@ pipelineConfig: image: mutadev/muta-watchdog:v0.2.0-rc env: - name: WATCH_DURATION - value: 43200H + value: 14400H - name: APP_NAMESPACE value: mutadev - name: APP_PORT From fc3d9bd08b61b007850a28ccd7a1d9a47f6ccb3b Mon Sep 17 00:00:00 2001 From: yejiayu Date: Wed, 12 Aug 2020 22:23:03 +0800 Subject: [PATCH 4/5] fix time --- jenkins-x-chaos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins-x-chaos.yml b/jenkins-x-chaos.yml index 472c96c06..510e75ad0 100644 --- a/jenkins-x-chaos.yml +++ b/jenkins-x-chaos.yml @@ -78,7 +78,7 @@ pipelineConfig: image: mutadev/muta-watchdog:v0.2.0-rc env: - name: WATCH_DURATION - value: 14400H + value: 10d - name: APP_NAMESPACE value: mutadev - name: APP_PORT From 2e5dbc001d00eda2bd96d212449ebe2a5433a943 Mon Sep 17 00:00:00 2001 From: yejiayu Date: Thu, 13 Aug 2020 16:03:09 +0800 Subject: [PATCH 5/5] restart --- charts/deploy-chaos/values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/deploy-chaos/values.yaml b/charts/deploy-chaos/values.yaml index 95c0fa9aa..3d42e43f1 100644 --- a/charts/deploy-chaos/values.yaml +++ b/charts/deploy-chaos/values.yaml @@ -27,7 +27,8 @@ resources: persistent: true chaos: - - all + - stable-node-failure + - stable-node-kill size: 4