* update(experiment CR): add configmap for data persistence Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
36 lines
923 B
YAML
36 lines
923 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
description:
|
|
message: |
|
|
Network loss to target pod belonging to a OpenEBS PVC
|
|
kind: ChaosExperiment
|
|
metadata:
|
|
labels:
|
|
litmuschaos.io/name: openebs
|
|
name: openebs-target-network-loss
|
|
version: 0.1.0
|
|
spec:
|
|
definition:
|
|
image: "openebs/ansible-runner:ci"
|
|
args:
|
|
- -c
|
|
- ansible-playbook ./experiments/chaos/openebs_target_network_loss/test.yml -i /etc/ansible/hosts -vv; exit 0
|
|
command:
|
|
- /bin/bash
|
|
env:
|
|
- name: ANSIBLE_STDOUT_CALLBACK
|
|
value: "default"
|
|
- name: OPERATOR_NAMESPACE
|
|
value: "openebs"
|
|
- name: NETWORK_DELAY
|
|
value: "60" # in milliseconds (Mandatory)
|
|
- name: CHAOS_DURATION
|
|
value: "60" # in milliseconds (Mandatory)
|
|
- name: DATA_PERSISTENCY
|
|
value: ""
|
|
labels:
|
|
name: openebs-target-network-loss
|
|
configmaps:
|
|
- name: target-network-loss
|
|
data:
|
|
parameters.yml: |
|