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:
55
experiments/cassandra/cassandra-pod-delete/engine.yaml
Normal file
55
experiments/cassandra/cassandra-pod-delete/engine.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: cassandra-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
applabel: 'app=cassandra'
|
||||
appkind: 'statefulset'
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
chaosServiceAccount: cassandra-pod-delete-sa
|
||||
experiments:
|
||||
- name: cassandra-pod-delete
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '15'
|
||||
|
||||
# set chaos interval (in sec) as desired
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '15'
|
||||
|
||||
# pod failures without '--force' & default terminationGracePeriodSeconds
|
||||
- name: FORCE
|
||||
value: 'false'
|
||||
|
||||
# provide cassandra service name
|
||||
# default service: cassandra
|
||||
- name: CASSANDRA_SVC_NAME
|
||||
value: 'cassandra'
|
||||
|
||||
# provide the keyspace replication factor
|
||||
- name: KEYSPACE_REPLICATION_FACTOR
|
||||
value: '3'
|
||||
|
||||
# provide cassandra port
|
||||
# default port: 9042
|
||||
- name: CASSANDRA_PORT
|
||||
value: '9042'
|
||||
|
||||
# SET THE CASSANDRA_LIVENESS_CHECK
|
||||
# IT CAN BE `enable` OR `disable`
|
||||
- name: CASSANDRA_LIVENESS_CHECK
|
||||
value: ''
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
value: ''
|
||||
|
Reference in New Issue
Block a user