feat(go-charts): Adding go experiment in charthub (#260)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-07-13 22:32:03 +05:30
committed by GitHub
parent 30e757e9bb
commit 9c7b9f653b
9 changed files with 23 additions and 45 deletions

View File

@@ -30,18 +30,15 @@ spec:
- "update" - "update"
- "patch" - "patch"
- "delete" - "delete"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/container_kill/container_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/container-kill
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''

View File

@@ -31,18 +31,15 @@ spec:
- "patch" - "patch"
- "update" - "update"
- "delete" - "delete"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/disk_fill/disk_fill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/disk-fill
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''

View File

@@ -37,16 +37,14 @@ spec:
verbs: verbs:
- "get" - "get"
- "list" - "list"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/kubelet_service_kill/kubelet_service_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/kubelet-service-kill
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '90' # in seconds value: '90' # in seconds

View File

@@ -37,18 +37,15 @@ spec:
verbs: verbs:
- "get" - "get"
- "list" - "list"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/node_cpu_hog/node_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/node-cpu-hog
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60' value: '60'

View File

@@ -41,16 +41,14 @@ spec:
- "get" - "get"
- "list" - "list"
- "patch" - "patch"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/node_drain/node_drain_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/node-drain
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: LIVENESS_APP_LABEL - name: LIVENESS_APP_LABEL
value: '' value: ''

View File

@@ -37,18 +37,15 @@ spec:
verbs: verbs:
- "get" - "get"
- "list" - "list"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/node_memory_hog/node_memory_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/node-memory-hog
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '120' value: '120'

View File

@@ -29,16 +29,14 @@ spec:
- "patch" - "patch"
- "update" - "update"
- "get" - "get"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/pod_network_corruption/pod_network_corruption_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/pod-network-corruption
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''

View File

@@ -29,16 +29,14 @@ spec:
- "patch" - "patch"
- "update" - "update"
- "delete" - "delete"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/pod_network_latency/pod_network_latency_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/pod-network-latency
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''

View File

@@ -29,16 +29,14 @@ spec:
- "create" - "create"
- "update" - "update"
- "delete" - "delete"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/pod_network_loss/pod_network_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments/pod-network-loss
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''