* (feat)chaos-charts: adding chaosengine yamls Signed-off-by: aditya109 <adikid1996@gmail.com>
30 lines
730 B
YAML
30 lines
730 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: nginx-chaos
|
|
namespace: default
|
|
spec:
|
|
# It can be true/false
|
|
annotationCheck: 'true'
|
|
#ex. values: ns1:name=percona,ns2:run=nginx
|
|
auxiliaryAppInfo: ''
|
|
appinfo:
|
|
appns: 'default'
|
|
applabel: 'app=nginx'
|
|
appkind: 'deployment'
|
|
chaosServiceAccount: nginx-sa
|
|
monitoring: false
|
|
components:
|
|
runner:
|
|
image: 'litmuschaos/chaos-executor:1.0.0'
|
|
type: 'go'
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
experiments:
|
|
- name: container-kill
|
|
spec:
|
|
components:
|
|
# specify the name of the container to be killed
|
|
env:
|
|
- name: TARGET_CONTAINER
|
|
value: 'nginx' |