Chore(charts): Update docker service kill charts (#473)

Signed-off-by: udit <udit@chaosnative.com>
This commit is contained in:
Udit Gaurav
2021-06-15 14:17:31 +05:30
committed by GitHub
parent 78ebbcc774
commit edec972e3e
3 changed files with 19 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ spec:
app.kubernetes.io/version: latest app.kubernetes.io/version: latest
links: links:
- name: Source Code - name: Source Code
url: https://github.com/litmuschaos/litmus-ansible/tree/master/experiments/generic/docker_service_kill url: https://github.com/litmuschaos/litmus-go/tree/master/experiments/generic/docker-service-kill
- name: Documentation - name: Documentation
url: https://docs.litmuschaos.io/docs/docker-service-kill/ url: https://docs.litmuschaos.io/docs/docker-service-kill/
- name: Video - name: Video

View File

@@ -4,13 +4,8 @@ metadata:
name: nginx-chaos name: nginx-chaos
namespace: default namespace: default
spec: spec:
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
# It can be active/stop # It can be active/stop
engineState: 'active' engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: '' auxiliaryAppInfo: ''
chaosServiceAccount: docker-service-kill-sa chaosServiceAccount: docker-service-kill-sa
experiments: experiments:
@@ -21,10 +16,8 @@ spec:
# # provide the node labels # # provide the node labels
# kubernetes.io/hostname: 'node02' # kubernetes.io/hostname: 'node02'
env: env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '90' value: '90' # in seconds
# provide the actual name of node under test - name: TARGET_NODE
- name: APP_NODE
value: 'node-01' value: 'node-01'

View File

@@ -41,17 +41,15 @@ spec:
verbs: verbs:
- "get" - "get"
- "list" - "list"
image: "litmuschaos/ansible-runner:ci" image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/docker_service_kill/docker_service_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ./experiments -name docker-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
@@ -61,6 +59,18 @@ spec:
- name: LIB - name: LIB
value: 'litmus' value: 'litmus'
- name: NODE_LABEL
value: ''
# provide lib image
- name: LIB_IMAGE
value: 'ubuntu:16.04'
# provide the target node name
- name: TARGET_NODE
value: ''
labels: labels:
name: docker-service-kill name: docker-service-kill
app.kubernetes.io/part-of: litmus app.kubernetes.io/part-of: litmus