Changed chaos duration of chaos workflows for litmus-portal. (#319)

* Altered chaos duration for litmus portal.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
This commit is contained in:
Ishan Gupta
2020-09-13 16:56:22 +05:30
committed by GitHub
parent e5066f98a0
commit 210930c11b
5 changed files with 5 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ spec:
value: '1' value: '1'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '240' # in seconds value: '60' # in seconds
container: container:
image: lachlanevenson/k8s-kubectl image: lachlanevenson/k8s-kubectl
command: [sh, -c] command: [sh, -c]

View File

@@ -136,7 +136,7 @@ spec:
value: '90' value: '90'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '240' # in seconds value: '60' # in seconds
container: container:
image: lachlanevenson/k8s-kubectl image: lachlanevenson/k8s-kubectl
command: [sh, -c] command: [sh, -c]

View File

@@ -134,7 +134,7 @@ spec:
value: '1' value: '1'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '240' # in seconds value: '60' # in seconds
- name: CHAOS_KILL_COMMAND - name: CHAOS_KILL_COMMAND
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')" value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"

View File

@@ -133,7 +133,7 @@ spec:
components: components:
env: env:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: "10" value: "60"
- name: CHAOS_INTERVAL - name: CHAOS_INTERVAL
value: "10" value: "10"
- name: FORCE - name: FORCE

View File

@@ -135,7 +135,7 @@ spec:
value: '500' value: '500'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '240' # in seconds value: '60' # in seconds
- name: CHAOS_KILL_COMMAND - name: CHAOS_KILL_COMMAND
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')" value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"