* 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>
35 lines
899 B
YAML
35 lines
899 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: nginx-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: disk-fill-sa
|
|
experiments:
|
|
- name: disk-fill
|
|
spec:
|
|
components:
|
|
env:
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '60'
|
|
|
|
# specify the fill percentage according to the disk pressure required
|
|
- name: FILL_PERCENTAGE
|
|
value: '80'
|
|
|
|
- name: PODS_AFFECTED_PERC
|
|
value: ''
|
|
|
|
# Provide the container runtime path
|
|
# Default set to docker container path
|
|
- name: CONTAINER_PATH
|
|
value: '/var/lib/docker/containers'
|