* Updated dir struture with scenarios and experiments dir Signed-off-by: Amit Kumar Das <amit.das@harness.io> * Added icons Signed-off-by: Amit Kumar Das <amit.das@harness.io>
32 lines
758 B
YAML
32 lines
758 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: target-chaos
|
|
namespace: default
|
|
spec:
|
|
# It can be active/stop
|
|
engineState: 'active'
|
|
#ex. values: ns1:name=percona,ns2:run=nginx
|
|
auxiliaryAppInfo: ''
|
|
appinfo:
|
|
appns: 'default'
|
|
applabel: 'app=nginx'
|
|
appkind: 'deployment'
|
|
chaosServiceAccount: target-network-loss-sa
|
|
experiments:
|
|
- name: openebs-target-network-loss
|
|
spec:
|
|
components:
|
|
env:
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '120' # in seconds
|
|
|
|
- name: TARGET_CONTAINER
|
|
value: 'cstor-istgt'
|
|
|
|
- name: APP_PVC
|
|
value: 'demo-nginx-claim'
|
|
|
|
- name: DEPLOY_TYPE
|
|
value: 'deployment'
|