Feature(Chart): Chaos charts for Docker Service Kill experiment (#261)

* Chaos charts for Docker Service Kill experiment
This commit is contained in:
ghoshankur1983
2020-07-14 16:37:07 +05:30
committed by GitHub
parent 133281e288
commit 14581f5fdb
4 changed files with 150 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
chaosServiceAccount: docker-service-kill-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: docker-service-kill
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '90'