Directory restructure to add scenarios and experiments (#559)
* 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>
This commit is contained in:
51
experiments/openebs/openebs-pool-disk-loss/engine.yaml
Normal file
51
experiments/openebs/openebs-pool-disk-loss/engine.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: pool-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=busybox
|
||||
auxiliaryAppInfo: ''
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
applabel: 'app=nginx'
|
||||
appkind: 'deployment'
|
||||
chaosServiceAccount: pool-disk-loss-sa
|
||||
experiments:
|
||||
- name: openebs-pool-disk-loss
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
||||
# GKE and AWS supported
|
||||
- name: CLOUD_PLATFORM
|
||||
value: 'GKE'
|
||||
|
||||
# Enter the project id for gcp only
|
||||
- name: PROJECT_ID
|
||||
value: 'litmus-demo-123'
|
||||
|
||||
# Enter the node name
|
||||
- name: NODE_NAME
|
||||
value: 'demo-node-123'
|
||||
|
||||
# Enter the disk name
|
||||
- name: DISK_NAME
|
||||
value: 'demo-disk-123 '
|
||||
|
||||
# Enter the device name
|
||||
- name: DEVICE_NAME
|
||||
value: '/dev/sdb'
|
||||
|
||||
# Enter the zone name
|
||||
- name: ZONE_NAME
|
||||
value: 'us-central1-a'
|
||||
|
Reference in New Issue
Block a user