feat(chart): Change experiment chart to use go runner (#254)

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
UDIT GAURAV
2020-07-03 20:31:36 +05:30
committed by GitHub
parent b45c197ab5
commit f41e0d5ff2
17 changed files with 48 additions and 51 deletions

View File

@@ -35,4 +35,4 @@ spec:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds

View File

@@ -29,34 +29,34 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_cpu_hog/pod_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
- ./experiments/pod-cpu-hog
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: TOTAL_CHAOS_DURATION
value: '30'
- name: CHAOS_INTERVAL
value: '10'
## Number of CPU cores to stress
- name: CPU_CORES
value: '1'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
# Period to wait before injection of chaos in sec
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
- name: LIB_IMAGE
value: 'litmuschaos/app-cpu-stress:latest'
labels:
name: pod-cpu-hog